Table of Contents

Method ShiftRightArithmetic_Fast_Negative_LoadArray

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

ShiftRightArithmetic_Fast_Negative_LoadArray(Vector<long>, int)

Shifts (signed) 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<long> ShiftRightArithmetic_Fast_Negative_LoadArray(Vector<long> value, int shiftAmount)

Parameters

value Vector<long>

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~63 (有效范围是 0~63).

Returns

Vector<long>

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

See Also