Table of Contents

Method YIsPositiveInfinity

Namespace
Zyl.VectorTraits.Impl.AVector
Assembly
VectorTraits.dll

YIsPositiveInfinity(Vector<double>)

Determines if a element is positive infinity (确定元素是否为正无穷大). Mnemonic: rt[i] := to_mask(isNegativeInfinity(value[i])).

public override Vector<long> YIsPositiveInfinity(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 positive infinity (一个向量,其元素是全位为1或0,取决于value的对应元素中是否为正无穷大).

See Also