Table of Contents

Method ShiftLeft_Args_Element

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

ShiftLeft_Args_Element(Vector<short>, int, out Vector<short>)

Arguments calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的参数计算). Provide arguments for ShiftLeft_Core (为 ShiftLeft_Core 提供参数). Mnemonic: rt[i] := value[i] << shiftAmount, shiftAmount &= (T.BitSize-1).

public static Vector<short> ShiftLeft_Args_Element(Vector<short> dummy, int shiftAmount, out Vector<short> args1)

Parameters

dummy Vector<short>

Not actually used, it is only used to distinguish overloaded methods (实际上没有使用, 它仅用于区分重载方法)..

shiftAmount int

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

args1 Vector<short>

Returns arguments 1 (返回参数1). Used for ShiftLeft_Core .

Returns

Vector<short>

Returns arguments 0 (返回参数0). Used for ShiftLeft_Core .

See Also