Table of Contents

Method YIsFinite

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YIsFinite(Vector<float>)

Determines if a element is finite. It contains zero, subnormal, and normal. It does not contain infinity, NaN (确定元素是否为有限值. 它包含 零、次正规数、正规数. 它不含无穷大、非数). Mnemonic: rt[i] := to_mask(isFinite(value[i])).

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

Parameters

value Vector<float>

The vectors that will be checked (将进行检查的向量).

Returns

Vector<int>

A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in value were is finite (一个向量,其元素是全位为1或0,取决于value的对应元素中是否为有限的).

See Also

YIsFinite(Vector<double>)

Determines if a element is finite. It contains zero, subnormal, and normal. It does not contain infinity, NaN (确定元素是否为有限值. 它包含 零、次正规数、正规数. 它不含无穷大、非数). Mnemonic: rt[i] := to_mask(isFinite(value[i])).

public static Vector<long> YIsFinite(Vector<double> value)

Parameters

value Vector<double>

The vectors that will be checked (将进行检查的向量).

Returns

Vector<long>

A vector whose elements are all-bits-set or zero, depending on if the corresponding elements in value were is finite (一个向量,其元素是全位为1或0,取决于value的对应元素中是否为有限的).

See Also