Table of Contents

Method ExtractMostSignificantBits

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ExtractMostSignificantBits(Vector<float>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static ulong ExtractMostSignificantBits(Vector<float> vector)

Parameters

vector Vector<float>

The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).

Returns

ulong

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector<double>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static ulong ExtractMostSignificantBits(Vector<double> vector)

Parameters

vector Vector<double>

The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).

Returns

ulong

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector<sbyte>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static ulong ExtractMostSignificantBits(Vector<sbyte> vector)

Parameters

vector Vector<sbyte>

The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).

Returns

ulong

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector<byte>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static ulong ExtractMostSignificantBits(Vector<byte> vector)

Parameters

vector Vector<byte>

The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).

Returns

ulong

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector<short>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static ulong ExtractMostSignificantBits(Vector<short> vector)

Parameters

vector Vector<short>

The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).

Returns

ulong

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector<ushort>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static ulong ExtractMostSignificantBits(Vector<ushort> vector)

Parameters

vector Vector<ushort>

The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).

Returns

ulong

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector<int>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static ulong ExtractMostSignificantBits(Vector<int> vector)

Parameters

vector Vector<int>

The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).

Returns

ulong

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector<uint>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static ulong ExtractMostSignificantBits(Vector<uint> vector)

Parameters

vector Vector<uint>

The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).

Returns

ulong

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector<long>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static ulong ExtractMostSignificantBits(Vector<long> vector)

Parameters

vector Vector<long>

The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).

Returns

ulong

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also

ExtractMostSignificantBits(Vector<ulong>)

Extracts the most significant bit from each element in a vector (从向量的每个元素中提取最高有效位). Mnemonic: rt |= getMostSignificantBit(vector[i]) << i = ( vector[i] >>> (sizeof(T)*8-1) ) << i.

[CLSCompliant(false)]
public static ulong ExtractMostSignificantBits(Vector<ulong> vector)

Parameters

vector Vector<ulong>

The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).

Returns

ulong

The packed most significant bits extracted from the elements in vector (从 vector 中各元素中提取的最高有效位的紧缩值).

See Also