Table of Contents

Method ShiftLeft_Args

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ShiftLeft_Args<T>(Vector<T>, int)

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).

[Obsolete("It is only suitable for unit testing because it contains branching statements and has poor performance. In general, it is recommended to use the non-generic version of the methods (因它含有分支语句, 性能较差, 仅适用于单元测试. 一般情况下, 建议使用非泛型版方法).")]
public static (Vector<T> args0, Vector<T> args1) ShiftLeft_Args<T>(Vector<T> dummy, int shiftAmount) where T : struct

Parameters

dummy Vector<T>

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

shiftAmount int

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

Returns

(Vector<T> args0, Vector<T> args1)

The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).

Type Parameters

T

The element type of the input parameter (输入参数的元素类型).

See Also

ShiftLeft_Args(Vector<sbyte>, int)

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).

[CLSCompliant(false)]
public static (Vector<sbyte> args0, Vector<sbyte> args1) ShiftLeft_Args(Vector<sbyte> dummy, int shiftAmount)

Parameters

dummy Vector<sbyte>

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

shiftAmount int

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

Returns

(Vector<sbyte> args0, Vector<sbyte> args1)

The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).

See Also

ShiftLeft_Args(Vector<byte>, int)

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<byte> args0, Vector<byte> args1) ShiftLeft_Args(Vector<byte> dummy, int shiftAmount)

Parameters

dummy Vector<byte>

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

shiftAmount int

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

Returns

(Vector<byte> args0, Vector<byte> args1)

The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).

See Also

ShiftLeft_Args(Vector<short>, int)

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> args0, Vector<short> args1) ShiftLeft_Args(Vector<short> dummy, int shiftAmount)

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 (每个元素的移位位数).

Returns

(Vector<short> Lower, Vector<short> Upper)

The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).

See Also

ShiftLeft_Args(Vector<ushort>, int)

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).

[CLSCompliant(false)]
public static (Vector<ushort> args0, Vector<ushort> args1) ShiftLeft_Args(Vector<ushort> dummy, int shiftAmount)

Parameters

dummy Vector<ushort>

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

shiftAmount int

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

Returns

(Vector<ushort> Lower, Vector<ushort> Upper)

The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).

See Also

ShiftLeft_Args(Vector<int>, int)

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<int> args0, Vector<int> args1) ShiftLeft_Args(Vector<int> dummy, int shiftAmount)

Parameters

dummy Vector<int>

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

shiftAmount int

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

Returns

(Vector<int> Lower, Vector<int> Upper)

The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).

See Also

ShiftLeft_Args(Vector<uint>, int)

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).

[CLSCompliant(false)]
public static (Vector<uint> args0, Vector<uint> args1) ShiftLeft_Args(Vector<uint> dummy, int shiftAmount)

Parameters

dummy Vector<uint>

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

shiftAmount int

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

Returns

(Vector<uint> Lower, Vector<uint> Upper)

The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).

See Also

ShiftLeft_Args(Vector<long>, int)

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<long> args0, Vector<long> args1) ShiftLeft_Args(Vector<long> dummy, int shiftAmount)

Parameters

dummy Vector<long>

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

shiftAmount int

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

Returns

(Vector<long> Lower, Vector<long> Upper)

The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).

See Also

ShiftLeft_Args(Vector<ulong>, int)

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).

[CLSCompliant(false)]
public static (Vector<ulong> args0, Vector<ulong> args1) ShiftLeft_Args(Vector<ulong> dummy, int shiftAmount)

Parameters

dummy Vector<ulong>

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

shiftAmount int

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

Returns

(Vector<ulong> Lower, Vector<ulong> Upper)

The arguments provided for ShiftLeft_Core (为 ShiftLeft_Core 提供参数).

See Also

ShiftLeft_Args(Vector<sbyte>, int, out Vector<sbyte>)

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).

[CLSCompliant(false)]
public static Vector<sbyte> ShiftLeft_Args(Vector<sbyte> dummy, int shiftAmount, out Vector<sbyte> args1)

Parameters

dummy Vector<sbyte>

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<sbyte>

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

Returns

Vector<sbyte>

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

See Also

ShiftLeft_Args(Vector<byte>, int, out Vector<byte>)

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<byte> ShiftLeft_Args(Vector<byte> dummy, int shiftAmount, out Vector<byte> args1)

Parameters

dummy Vector<byte>

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<byte>

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

Returns

Vector<byte>

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

See Also

ShiftLeft_Args(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(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

ShiftLeft_Args(Vector<ushort>, int, out Vector<ushort>)

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).

[CLSCompliant(false)]
public static Vector<ushort> ShiftLeft_Args(Vector<ushort> dummy, int shiftAmount, out Vector<ushort> args1)

Parameters

dummy Vector<ushort>

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<ushort>

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

Returns

Vector<ushort>

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

See Also

ShiftLeft_Args(Vector<int>, int, out Vector<int>)

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<int> ShiftLeft_Args(Vector<int> dummy, int shiftAmount, out Vector<int> args1)

Parameters

dummy Vector<int>

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<int>

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

Returns

Vector<int>

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

See Also

ShiftLeft_Args(Vector<uint>, int, out Vector<uint>)

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).

[CLSCompliant(false)]
public static Vector<uint> ShiftLeft_Args(Vector<uint> dummy, int shiftAmount, out Vector<uint> args1)

Parameters

dummy Vector<uint>

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<uint>

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

Returns

Vector<uint>

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

See Also

ShiftLeft_Args(Vector<long>, int, out Vector<long>)

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<long> ShiftLeft_Args(Vector<long> dummy, int shiftAmount, out Vector<long> args1)

Parameters

dummy Vector<long>

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<long>

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

Returns

Vector<long>

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

See Also

ShiftLeft_Args(Vector<ulong>, int, out Vector<ulong>)

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).

[CLSCompliant(false)]
public static Vector<ulong> ShiftLeft_Args(Vector<ulong> dummy, int shiftAmount, out Vector<ulong> args1)

Parameters

dummy Vector<ulong>

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<ulong>

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

Returns

Vector<ulong>

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

See Also