Method ExtractMostSignificantBits
- Namespace
- Zyl.VectorTraits.Impl.AVector256
- Assembly
- VectorTraits.dll
ExtractMostSignificantBits(Vector256<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 virtual uint ExtractMostSignificantBits(Vector256<float> vector)
Parameters
vector
Vector256<float>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
Returns
- uint
The packed most significant bits extracted from the elements in
vector
(从vector
中各元素中提取的最高有效位的紧缩值).
- See Also
ExtractMostSignificantBits(Vector256<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 virtual uint ExtractMostSignificantBits(Vector256<double> vector)
Parameters
vector
Vector256<double>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
Returns
- uint
The packed most significant bits extracted from the elements in
vector
(从vector
中各元素中提取的最高有效位的紧缩值).
- See Also
ExtractMostSignificantBits(Vector256<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 virtual uint ExtractMostSignificantBits(Vector256<sbyte> vector)
Parameters
vector
Vector256<sbyte>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
Returns
- uint
The packed most significant bits extracted from the elements in
vector
(从vector
中各元素中提取的最高有效位的紧缩值).
- See Also
ExtractMostSignificantBits(Vector256<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 virtual uint ExtractMostSignificantBits(Vector256<byte> vector)
Parameters
vector
Vector256<byte>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
Returns
- uint
The packed most significant bits extracted from the elements in
vector
(从vector
中各元素中提取的最高有效位的紧缩值).
- See Also
ExtractMostSignificantBits(Vector256<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 virtual uint ExtractMostSignificantBits(Vector256<short> vector)
Parameters
vector
Vector256<short>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
Returns
- uint
The packed most significant bits extracted from the elements in
vector
(从vector
中各元素中提取的最高有效位的紧缩值).
- See Also
ExtractMostSignificantBits(Vector256<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 virtual uint ExtractMostSignificantBits(Vector256<ushort> vector)
Parameters
vector
Vector256<ushort>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
Returns
- uint
The packed most significant bits extracted from the elements in
vector
(从vector
中各元素中提取的最高有效位的紧缩值).
- See Also
ExtractMostSignificantBits(Vector256<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 virtual uint ExtractMostSignificantBits(Vector256<int> vector)
Parameters
vector
Vector256<int>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
Returns
- uint
The packed most significant bits extracted from the elements in
vector
(从vector
中各元素中提取的最高有效位的紧缩值).
- See Also
ExtractMostSignificantBits(Vector256<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 virtual uint ExtractMostSignificantBits(Vector256<uint> vector)
Parameters
vector
Vector256<uint>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
Returns
- uint
The packed most significant bits extracted from the elements in
vector
(从vector
中各元素中提取的最高有效位的紧缩值).
- See Also
ExtractMostSignificantBits(Vector256<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 virtual uint ExtractMostSignificantBits(Vector256<long> vector)
Parameters
vector
Vector256<long>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
Returns
- uint
The packed most significant bits extracted from the elements in
vector
(从vector
中各元素中提取的最高有效位的紧缩值).
- See Also
ExtractMostSignificantBits(Vector256<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 virtual uint ExtractMostSignificantBits(Vector256<ulong> vector)
Parameters
vector
Vector256<ulong>The vector whose elements should have their most significant bit extracted (欲对所有元素提取最高有效位的向量).
Returns
- uint
The packed most significant bits extracted from the elements in
vector
(从vector
中各元素中提取的最高有效位的紧缩值).
- See Also