Table of Contents

Method YIsNegative_Basic

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

YIsNegative_Basic(Vector<float>)

Determines if a element represents a negative number or negative zero (确定元素是否为负数或负零). Mnemonic: rt[i] := to_mask(isNegative(value[i])) = to_mask((value[i]<0) || isNegativeZero(value[i])).

public static Vector<int> YIsNegative_Basic(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 negative number or negative zero (一个向量,其元素是全位为1或0,取决于value的对应元素中是否为负数或负零).

See Also

YIsNegative_Basic(Vector<double>)

Determines if a element represents a negative number or negative zero (确定元素是否为负数或负零). Mnemonic: rt[i] := to_mask(isNegative(value[i])) = to_mask((value[i]<0) || isNegativeZero(value[i])).

public static Vector<long> YIsNegative_Basic(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 negative number or negative zero (一个向量,其元素是全位为1或0,取决于value的对应元素中是否为负数或负零).

See Also

YIsNegative_Basic(Vector<sbyte>)

Determines if a element represents a negative number or negative zero (确定元素是否为负数或负零). Mnemonic: rt[i] := to_mask(isNegative(value[i])) = to_mask((value[i]<0) || isNegativeZero(value[i])).

[CLSCompliant(false)]
public static Vector<sbyte> YIsNegative_Basic(Vector<sbyte> value)

Parameters

value Vector<sbyte>

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

Returns

Vector<sbyte>

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

See Also

YIsNegative_Basic(Vector<short>)

Determines if a element represents a negative number or negative zero (确定元素是否为负数或负零). Mnemonic: rt[i] := to_mask(isNegative(value[i])) = to_mask((value[i]<0) || isNegativeZero(value[i])).

public static Vector<short> YIsNegative_Basic(Vector<short> value)

Parameters

value Vector<short>

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

Returns

Vector<short>

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

See Also

YIsNegative_Basic(Vector<int>)

Determines if a element represents a negative number or negative zero (确定元素是否为负数或负零). Mnemonic: rt[i] := to_mask(isNegative(value[i])) = to_mask((value[i]<0) || isNegativeZero(value[i])).

public static Vector<int> YIsNegative_Basic(Vector<int> value)

Parameters

value Vector<int>

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 negative number or negative zero (一个向量,其元素是全位为1或0,取决于value的对应元素中是否为负数或负零).

See Also

YIsNegative_Basic(Vector<long>)

Determines if a element represents a negative number or negative zero (确定元素是否为负数或负零). Mnemonic: rt[i] := to_mask(isNegative(value[i])) = to_mask((value[i]<0) || isNegativeZero(value[i])).

public static Vector<long> YIsNegative_Basic(Vector<long> value)

Parameters

value Vector<long>

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 negative number or negative zero (一个向量,其元素是全位为1或0,取决于value的对应元素中是否为负数或负零).

See Also