Table of Contents

Method YIsNotNaN

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YIsNotNaN(Vector<float>)

Determines if a element is not NaN (确定元素是否不为非数). Mnemonic: rt[i] := to_mask(isNotNaN(value[i])) = to_mask(!isNaN(value[i])).

public static Vector<int> YIsNotNaN(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 not NaN (一个向量,其元素是全位为1或0,取决于value的对应元素中是否不为非数).

See Also

YIsNotNaN(Vector<double>)

Determines if a element is not NaN (确定元素是否不为非数). Mnemonic: rt[i] := to_mask(isNotNaN(value[i])) = to_mask(!isNaN(value[i])).

public static Vector<long> YIsNotNaN(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 not NaN (一个向量,其元素是全位为1或0,取决于value的对应元素中是否不为非数).

See Also