Table of Contents

Method ConvertToSingle

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ConvertToSingle(Vector128<int>)

Convert to a vector whose elements are of type Single (转换为元素类型是Single的向量).. Mnemonic: rt[i] := (Single)(value[i]).

public static Vector128<float> ConvertToSingle(Vector128<int> value)

Parameters

value Vector128<int>

The source vector (源向量).

Returns

Vector128<float>

The converted vector (转换后的向量).

See Also

ConvertToSingle(Vector128<uint>)

Convert to a vector whose elements are of type Single (转换为元素类型是Single的向量).. Mnemonic: rt[i] := (Single)(value[i]).

[CLSCompliant(false)]
public static Vector128<float> ConvertToSingle(Vector128<uint> value)

Parameters

value Vector128<uint>

The source vector (源向量).

Returns

Vector128<float>

The converted vector (转换后的向量).

See Also