Table of Contents

Method ShiftLeft_Core_Element

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

ShiftLeft_Core_Element(Vector<short>, Vector<short>, Vector<short>)

Core calculation for shifts each element of a vector left by the specified amount (将向量的每个元素左移指定量的核心计算). Its arguments are derived from ShiftLeft_Args (其参数来源于 ShiftLeft_Args). Mnemonic: rt[i] := value[i] << shiftAmount, shiftAmount &= (T.BitSize-1).

public static Vector<short> ShiftLeft_Core_Element(Vector<short> value, Vector<short> args0, Vector<short> args1)

Parameters

value Vector<short>

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

args0 Vector<short>

Arguments 0 (参数0). Derived from ShiftLeft_Args .

args1 Vector<short>

Arguments 1 (参数1). Derived from ShiftLeft_Args .

Returns

Vector<short>

A vector for each element after left shift (每个元素左移位后的一个向量).

See Also