Table of Contents

Method ShiftRightLogical

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

ShiftRightLogical(Vector256<sbyte>, int)

Shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量). Mnemonic: rt[i] := value[i] >>> shiftAmount, shiftAmount &= (T.BitSize-1).

Vector256<sbyte> ShiftRightLogical(Vector256<sbyte> value, int shiftAmount)

Parameters

value Vector256<sbyte>

The vector whose elements are to be shifted (要移位其元素的向量).

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数).

Returns

Vector256<sbyte>

A vector whose elements where shifted right by shiftAmount (每个元素的右移 shiftAmount 位的一个向量).

See Also

ShiftRightLogical(Vector256<byte>, int)

Shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量). Mnemonic: rt[i] := value[i] >>> shiftAmount, shiftAmount &= (T.BitSize-1).

Vector256<byte> ShiftRightLogical(Vector256<byte> value, int shiftAmount)

Parameters

value Vector256<byte>

The vector whose elements are to be shifted (要移位其元素的向量).

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数).

Returns

Vector256<byte>

A vector whose elements where shifted right by shiftAmount (每个元素的右移 shiftAmount 位的一个向量).

See Also

ShiftRightLogical(Vector256<short>, int)

Shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量). Mnemonic: rt[i] := value[i] >>> shiftAmount, shiftAmount &= (T.BitSize-1).

Vector256<short> ShiftRightLogical(Vector256<short> value, int shiftAmount)

Parameters

value Vector256<short>

The vector whose elements are to be shifted (要移位其元素的向量).

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数).

Returns

Vector256<short>

A vector whose elements where shifted right by shiftAmount (每个元素的右移 shiftAmount 位的一个向量).

See Also

ShiftRightLogical(Vector256<ushort>, int)

Shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量). Mnemonic: rt[i] := value[i] >>> shiftAmount, shiftAmount &= (T.BitSize-1).

Vector256<ushort> ShiftRightLogical(Vector256<ushort> value, int shiftAmount)

Parameters

value Vector256<ushort>

The vector whose elements are to be shifted (要移位其元素的向量).

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数).

Returns

Vector256<ushort>

A vector whose elements where shifted right by shiftAmount (每个元素的右移 shiftAmount 位的一个向量).

See Also

ShiftRightLogical(Vector256<int>, int)

Shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量). Mnemonic: rt[i] := value[i] >>> shiftAmount, shiftAmount &= (T.BitSize-1).

Vector256<int> ShiftRightLogical(Vector256<int> value, int shiftAmount)

Parameters

value Vector256<int>

The vector whose elements are to be shifted (要移位其元素的向量).

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数).

Returns

Vector256<int>

A vector whose elements where shifted right by shiftAmount (每个元素的右移 shiftAmount 位的一个向量).

See Also

ShiftRightLogical(Vector256<uint>, int)

Shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量). Mnemonic: rt[i] := value[i] >>> shiftAmount, shiftAmount &= (T.BitSize-1).

Vector256<uint> ShiftRightLogical(Vector256<uint> value, int shiftAmount)

Parameters

value Vector256<uint>

The vector whose elements are to be shifted (要移位其元素的向量).

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数).

Returns

Vector256<uint>

A vector whose elements where shifted right by shiftAmount (每个元素的右移 shiftAmount 位的一个向量).

See Also

ShiftRightLogical(Vector256<long>, int)

Shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量). Mnemonic: rt[i] := value[i] >>> shiftAmount, shiftAmount &= (T.BitSize-1).

Vector256<long> ShiftRightLogical(Vector256<long> value, int shiftAmount)

Parameters

value Vector256<long>

The vector whose elements are to be shifted (要移位其元素的向量).

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数).

Returns

Vector256<long>

A vector whose elements where shifted right by shiftAmount (每个元素的右移 shiftAmount 位的一个向量).

See Also

ShiftRightLogical(Vector256<ulong>, int)

Shifts (unsigned) each element of a vector right by the specified amount. (将向量的每个无符号元素逻辑右移指定量). Mnemonic: rt[i] := value[i] >>> shiftAmount, shiftAmount &= (T.BitSize-1).

Vector256<ulong> ShiftRightLogical(Vector256<ulong> value, int shiftAmount)

Parameters

value Vector256<ulong>

The vector whose elements are to be shifted (要移位其元素的向量).

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数).

Returns

Vector256<ulong>

A vector whose elements where shifted right by shiftAmount (每个元素的右移 shiftAmount 位的一个向量).

See Also