Table of Contents

Method ShiftRightLogical_Fast_Widen

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

ShiftRightLogical_Fast_Widen(Vector<sbyte>, int)

Shifts (unsigned) each element of a vector right by the specified amount. - Fast(将向量的每个无符号元素逻辑右移指定量 - 快速). No check shiftAmount, please use LimitShiftAmount<T>(int) first, and shiftAmount must not be 0 . Mnemonic: rt[i] := value[i] >>> shiftAmount.

[CLSCompliant(false)]
public static Vector<sbyte> ShiftRightLogical_Fast_Widen(Vector<sbyte> value, int shiftAmount)

Parameters

value Vector<sbyte>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 0~7 (有效范围是 0~7).

Returns

Vector<sbyte>

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

See Also

ShiftRightLogical_Fast_Widen(Vector<byte>, int)

Shifts (unsigned) each element of a vector right by the specified amount. - Fast(将向量的每个无符号元素逻辑右移指定量 - 快速). No check shiftAmount, please use LimitShiftAmount<T>(int) first, and shiftAmount must not be 0 . Mnemonic: rt[i] := value[i] >>> shiftAmount.

public static Vector<byte> ShiftRightLogical_Fast_Widen(Vector<byte> value, int shiftAmount)

Parameters

value Vector<byte>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 0~7 (有效范围是 0~7).

Returns

Vector<byte>

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

See Also

ShiftRightLogical_Fast_Widen(Vector<short>, int)

Shifts (unsigned) each element of a vector right by the specified amount. - Fast(将向量的每个无符号元素逻辑右移指定量 - 快速). No check shiftAmount, please use LimitShiftAmount<T>(int) first, and shiftAmount must not be 0 . Mnemonic: rt[i] := value[i] >>> shiftAmount.

public static Vector<short> ShiftRightLogical_Fast_Widen(Vector<short> value, int shiftAmount)

Parameters

value Vector<short>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 0~15 (有效范围是 0~15).

Returns

Vector<short>

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

See Also

ShiftRightLogical_Fast_Widen(Vector<ushort>, int)

Shifts (unsigned) each element of a vector right by the specified amount. - Fast(将向量的每个无符号元素逻辑右移指定量 - 快速). No check shiftAmount, please use LimitShiftAmount<T>(int) first, and shiftAmount must not be 0 . Mnemonic: rt[i] := value[i] >>> shiftAmount.

[CLSCompliant(false)]
public static Vector<ushort> ShiftRightLogical_Fast_Widen(Vector<ushort> value, int shiftAmount)

Parameters

value Vector<ushort>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 0~15 (有效范围是 0~15).

Returns

Vector<ushort>

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

See Also

ShiftRightLogical_Fast_Widen(Vector<int>, int)

Shifts (unsigned) each element of a vector right by the specified amount. - Fast(将向量的每个无符号元素逻辑右移指定量 - 快速). No check shiftAmount, please use LimitShiftAmount<T>(int) first, and shiftAmount must not be 0 . Mnemonic: rt[i] := value[i] >>> shiftAmount.

public static Vector<int> ShiftRightLogical_Fast_Widen(Vector<int> value, int shiftAmount)

Parameters

value Vector<int>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 0~31 (有效范围是 0~31).

Returns

Vector<int>

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

See Also

ShiftRightLogical_Fast_Widen(Vector<uint>, int)

Shifts (unsigned) each element of a vector right by the specified amount. - Fast(将向量的每个无符号元素逻辑右移指定量 - 快速). No check shiftAmount, please use LimitShiftAmount<T>(int) first, and shiftAmount must not be 0 . Mnemonic: rt[i] := value[i] >>> shiftAmount.

[CLSCompliant(false)]
public static Vector<uint> ShiftRightLogical_Fast_Widen(Vector<uint> value, int shiftAmount)

Parameters

value Vector<uint>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 0~31 (有效范围是 0~31).

Returns

Vector<uint>

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

See Also