Table of Contents

Class VectorConstants

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

The constants used in Vector<T> methods (Vector<T> 方法所用的常数).

public static class VectorConstants
Inheritance
VectorConstants
Inherited Members

Properties

Byte_One

Value 1 .

Double_ExponentMask

Double - Exponent mask (指数掩码). Binary is 0x7FF0000000000000L.

Double_MantissaMask

Double - Mantissa mask (尾数掩码). Binary is 0x000FFFFFFFFFFFFFL.

Double_NonExponentMask

Double - Non-exponent mask (非指数掩码). Binary is 0x800FFFFFFFFFFFFFL.

Double_NonMantissaMask

Double - Non-mantissa mask (非尾数掩码). Binary is 0xFFF0000000000000L.

Double_NonSignMask

Double - Non-sign mask (非符号掩码). Binary is 0x7FFFFFFFFFFFFFFFL.

Double_SignMask

Double - Sign mask (符号掩码). Binary is 0x8000000000000000L.

Int16_One

Value 1 .

Int32_One

Value 1 .

Int64_MinValue

Represents the smallest possible value (表示最小可能值).

Int64_MinValue_4

Int64 - long.MinValue + 4 = 0x8000000000000004 = -9223372036854775804.

Int64_One

Value 1 .

Int64_VMaxInt32

Value 2147483647 (int.MaxValue) .

Int64_VMaxUInt32

Value 4294967295 (uint.MaxValue) .

Int64_VMinInt32

Value -2147483648 (int.MinValue) .

Single_ExponentMask

Single - Exponent mask (指数掩码). Binary is 0x7F800000.

Single_MantissaMask

Single - Mantissa mask (尾数掩码). Binary is 0x007FFFFF.

Single_NonExponentMask

Single - Non-exponent mask (非指数掩码). Binary is 0x807FFFFF.

Single_NonMantissaMask

Single - Non-mantissa mask (非尾数掩码). Binary is 0xFF800000.

Single_NonSignMask

Single - Non-sign mask (非符号掩码). Binary is 0x7FFFFFFF.

Single_SignMask

Single - Sign mask (符号掩码). Binary is 0x80000000.

UInt16_VMaxByte

Value 255 (byte.MaxValue).

Methods

GetMaskBits_Byte(int)

Get bits mask by index (根据索引获取位集掩码) - Byte. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(index).

GetMaskBits_ExInt128(int)

Get bits mask by index (根据索引获取位集掩码) - ExInt128. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(index).

GetMaskBits_ExUInt128(int)

Get bits mask by index (根据索引获取位集掩码) - ExUInt128. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(index).

GetMaskBits_Int128(int)

Get bits mask by index (根据索引获取位集掩码) - Int128. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(index).

GetMaskBits_Int16(int)

Get bits mask by index (根据索引获取位集掩码) - Int16. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(index).

GetMaskBits_Int32(int)

Get bits mask by index (根据索引获取位集掩码) - Int32. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(index).

GetMaskBits_Int64(int)

Get bits mask by index (根据索引获取位集掩码) - Int64. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(index).

GetMaskBits_SByte(int)

Get bits mask by index (根据索引获取位集掩码) - SByte. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(index).

GetMaskBits_UInt128(int)

Get bits mask by index (根据索引获取位集掩码) - UInt128. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(index).

GetMaskBits_UInt16(int)

Get bits mask by index (根据索引获取位集掩码) - UInt16. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(index).

GetMaskBits_UInt32(int)

Get bits mask by index (根据索引获取位集掩码) - UInt32. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(index).

GetMaskBits_UInt64(int)

Get bits mask by index (根据索引获取位集掩码) - UInt64. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(index).

GetMaskBits<T>(int)

Get bits mask by index (根据索引获取位集掩码). The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(index).

GetResidueMaskBits_Byte(int)

Get residue bits mask by index (根据索引获取剩余的位集掩码) - Byte. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(sizeof(T)*8 - index).

GetResidueMaskBits_ExInt128(int)

Get residue bits mask by index (根据索引获取剩余的位集掩码) - ExInt128. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(sizeof(T)*8 - index).

GetResidueMaskBits_ExUInt128(int)

Get residue bits mask by index (根据索引获取剩余的位集掩码) - ExUInt128. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(sizeof(T)*8 - index).

GetResidueMaskBits_Int128(int)

Get residue bits mask by index (根据索引获取剩余的位集掩码) - Int128. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(sizeof(T)*8 - index).

GetResidueMaskBits_Int16(int)

Get residue bits mask by index (根据索引获取剩余的位集掩码) - Int16. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(sizeof(T)*8 - index).

GetResidueMaskBits_Int32(int)

Get residue bits mask by index (根据索引获取剩余的位集掩码) - Int32. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(sizeof(T)*8 - index).

GetResidueMaskBits_Int64(int)

Get residue bits mask by index (根据索引获取剩余的位集掩码) - Int64. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(sizeof(T)*8 - index).

GetResidueMaskBits_SByte(int)

Get residue bits mask by index (根据索引获取剩余的位集掩码) - SByte. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetResidueMaskBits(sizeof(T)*8 - index).

GetResidueMaskBits_UInt128(int)

Get residue bits mask by index (根据索引获取剩余的位集掩码) - UInt128. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(sizeof(T)*8 - index).

GetResidueMaskBits_UInt16(int)

Get residue bits mask by index (根据索引获取剩余的位集掩码) - UInt16. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(sizeof(T)*8 - index).

GetResidueMaskBits_UInt32(int)

Get residue bits mask by index (根据索引获取剩余的位集掩码) - UInt32. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(sizeof(T)*8 - index).

GetResidueMaskBits_UInt64(int)

Get residue bits mask by index (根据索引获取剩余的位集掩码) - UInt64. The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetMaskBits(sizeof(T)*8 - index).

GetResidueMaskBits<T>(int)

Get residue bits mask by index (根据索引获取剩余的位集掩码). The index value ranges from 0 to sizeof(T)*8-1 (索引值的范围是 0 ~ sizeof(T)*8-1). The equivalent of Vectors<T>.GetResidueMaskBits(sizeof(T)*8 - index).