Table of Contents

Method ShiftLeft_Args

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

ShiftLeft_Args<T>(IWVectorTraits128, Vector128<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 (因它含有分支语句, 性能较差, 仅适用于单元测试. 一般情况下, 建议使用非泛型版方法).")]
[CLSCompliant(false)]
public static (Vector128<T> args0, Vector128<T> args1) ShiftLeft_Args<T>(this IWVectorTraits128 athis, Vector128<T> dummy, int shiftAmount) where T : struct

Parameters

athis IWVectorTraits128
dummy Vector128<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

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

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

Type Parameters

T

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

See Also

ShiftLeft_Args(IWVectorTraits128, Vector128<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 (Vector128<sbyte> args0, Vector128<sbyte> args1) ShiftLeft_Args(this IWVectorTraits128 athis, Vector128<sbyte> dummy, int shiftAmount)

Parameters

athis IWVectorTraits128
dummy Vector128<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

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

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

See Also

ShiftLeft_Args(IWVectorTraits128, Vector128<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).

[CLSCompliant(false)]
public static (Vector128<byte> args0, Vector128<byte> args1) ShiftLeft_Args(this IWVectorTraits128 athis, Vector128<byte> dummy, int shiftAmount)

Parameters

athis IWVectorTraits128
dummy Vector128<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

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

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

See Also

ShiftLeft_Args(IWVectorTraits128, Vector128<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).

[CLSCompliant(false)]
public static (Vector128<short> args0, Vector128<short> args1) ShiftLeft_Args(this IWVectorTraits128 athis, Vector128<short> dummy, int shiftAmount)

Parameters

athis IWVectorTraits128
dummy Vector128<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

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

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

See Also

ShiftLeft_Args(IWVectorTraits128, Vector128<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 (Vector128<ushort> args0, Vector128<ushort> args1) ShiftLeft_Args(this IWVectorTraits128 athis, Vector128<ushort> dummy, int shiftAmount)

Parameters

athis IWVectorTraits128
dummy Vector128<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

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

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

See Also

ShiftLeft_Args(IWVectorTraits128, Vector128<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).

[CLSCompliant(false)]
public static (Vector128<int> args0, Vector128<int> args1) ShiftLeft_Args(this IWVectorTraits128 athis, Vector128<int> dummy, int shiftAmount)

Parameters

athis IWVectorTraits128
dummy Vector128<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

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

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

See Also

ShiftLeft_Args(IWVectorTraits128, Vector128<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 (Vector128<uint> args0, Vector128<uint> args1) ShiftLeft_Args(this IWVectorTraits128 athis, Vector128<uint> dummy, int shiftAmount)

Parameters

athis IWVectorTraits128
dummy Vector128<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

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

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

See Also

ShiftLeft_Args(IWVectorTraits128, Vector128<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).

[CLSCompliant(false)]
public static (Vector128<long> args0, Vector128<long> args1) ShiftLeft_Args(this IWVectorTraits128 athis, Vector128<long> dummy, int shiftAmount)

Parameters

athis IWVectorTraits128
dummy Vector128<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

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

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

See Also

ShiftLeft_Args(IWVectorTraits128, Vector128<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 (Vector128<ulong> args0, Vector128<ulong> args1) ShiftLeft_Args(this IWVectorTraits128 athis, Vector128<ulong> dummy, int shiftAmount)

Parameters

athis IWVectorTraits128
dummy Vector128<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

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

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

See Also