Table of Contents

Method ConvertToInt32

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ConvertToInt32(Vector<float>)

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

public static Vector<int> ConvertToInt32(Vector<float> value)

Parameters

value Vector<float>

The source vector (源向量).

Returns

Vector<int>

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

See Also