Method ShiftRightArithmetic_ConstCore
- Namespace
- Zyl.VectorTraits.Impl
- Assembly
- VectorTraits.dll
ShiftRightArithmetic_ConstCore(Vector<sbyte>, int, Vector<sbyte>, Vector<sbyte>)
Core calculation for shifts (signed) each element of a vector right by the specified amount - Const (将向量的每个有符号元素算术右移指定量的核心计算 - 常量). Its arguments are derived from ShiftRightArithmetic_Args (其参数来源于 ShiftRightArithmetic_Args).
Mnemonic: rt[i] := value[i] >> shiftAmount
.
Vector<sbyte> ShiftRightArithmetic_ConstCore(Vector<sbyte> value, int shiftAmount, Vector<sbyte> args0, Vector<sbyte> args1)
Parameters
value
Vector<sbyte>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~7 (有效范围是 1~7).
args0
Vector<sbyte>Arguments 0 (参数0). Derived from ShiftRightArithmetic_Args .
args1
Vector<sbyte>Arguments 1 (参数1). Derived from ShiftRightArithmetic_Args .
Returns
- See Also
ShiftRightArithmetic_ConstCore(Vector<short>, int, Vector<short>, Vector<short>)
Core calculation for shifts (signed) each element of a vector right by the specified amount - Const (将向量的每个有符号元素算术右移指定量的核心计算 - 常量). Its arguments are derived from ShiftRightArithmetic_Args (其参数来源于 ShiftRightArithmetic_Args).
Mnemonic: rt[i] := value[i] >> shiftAmount
.
Vector<short> ShiftRightArithmetic_ConstCore(Vector<short> value, int shiftAmount, Vector<short> args0, Vector<short> args1)
Parameters
value
Vector<short>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~15 (有效范围是 1~15).
args0
Vector<short>Arguments 0 (参数0). Derived from ShiftRightArithmetic_Args .
args1
Vector<short>Arguments 1 (参数1). Derived from ShiftRightArithmetic_Args .
Returns
- See Also
ShiftRightArithmetic_ConstCore(Vector<int>, int, Vector<int>, Vector<int>)
Core calculation for shifts (signed) each element of a vector right by the specified amount - Const (将向量的每个有符号元素算术右移指定量的核心计算 - 常量). Its arguments are derived from ShiftRightArithmetic_Args (其参数来源于 ShiftRightArithmetic_Args).
Mnemonic: rt[i] := value[i] >> shiftAmount
.
Vector<int> ShiftRightArithmetic_ConstCore(Vector<int> value, int shiftAmount, Vector<int> args0, Vector<int> args1)
Parameters
value
Vector<int>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~31 (有效范围是 1~31).
args0
Vector<int>Arguments 0 (参数0). Derived from ShiftRightArithmetic_Args .
args1
Vector<int>Arguments 1 (参数1). Derived from ShiftRightArithmetic_Args .
Returns
- See Also
ShiftRightArithmetic_ConstCore(Vector<long>, int, Vector<long>, Vector<long>)
Core calculation for shifts (signed) each element of a vector right by the specified amount - Const (将向量的每个有符号元素算术右移指定量的核心计算 - 常量). Its arguments are derived from ShiftRightArithmetic_Args (其参数来源于 ShiftRightArithmetic_Args).
Mnemonic: rt[i] := value[i] >> shiftAmount
.
Vector<long> ShiftRightArithmetic_ConstCore(Vector<long> value, int shiftAmount, Vector<long> args0, Vector<long> args1)
Parameters
value
Vector<long>The vector whose elements are to be shifted (要移位其元素的向量).
shiftAmount
intThe number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~63 (有效范围是 1~63).
args0
Vector<long>Arguments 0 (参数0). Derived from ShiftRightArithmetic_Args .
args1
Vector<long>Arguments 1 (参数1). Derived from ShiftRightArithmetic_Args .
Returns
- See Also