Table of Contents

Method ShiftLeft_ConstCore

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ShiftLeft_ConstCore(Vector256<sbyte>, int, Vector256<sbyte>, Vector256<sbyte>)

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

[CLSCompliant(false)]
public static Vector256<sbyte> ShiftLeft_ConstCore(Vector256<sbyte> value, int shiftAmount, Vector256<sbyte> args0, Vector256<sbyte> args1)

Parameters

value Vector256<sbyte>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~7 (有效范围是 1~7).

args0 Vector256<sbyte>

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

args1 Vector256<sbyte>

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

Returns

Vector256<sbyte>

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

See Also

ShiftLeft_ConstCore(Vector256<byte>, int, Vector256<byte>, Vector256<byte>)

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

public static Vector256<byte> ShiftLeft_ConstCore(Vector256<byte> value, int shiftAmount, Vector256<byte> args0, Vector256<byte> args1)

Parameters

value Vector256<byte>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~7 (有效范围是 1~7).

args0 Vector256<byte>

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

args1 Vector256<byte>

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

Returns

Vector256<byte>

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

See Also

ShiftLeft_ConstCore(Vector256<short>, int, Vector256<short>, Vector256<short>)

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

public static Vector256<short> ShiftLeft_ConstCore(Vector256<short> value, int shiftAmount, Vector256<short> args0, Vector256<short> args1)

Parameters

value Vector256<short>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~15 (有效范围是 1~15).

args0 Vector256<short>

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

args1 Vector256<short>

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

Returns

Vector256<short>

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

See Also

ShiftLeft_ConstCore(Vector256<ushort>, int, Vector256<ushort>, Vector256<ushort>)

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

[CLSCompliant(false)]
public static Vector256<ushort> ShiftLeft_ConstCore(Vector256<ushort> value, int shiftAmount, Vector256<ushort> args0, Vector256<ushort> args1)

Parameters

value Vector256<ushort>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~15 (有效范围是 1~15).

args0 Vector256<ushort>

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

args1 Vector256<ushort>

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

Returns

Vector256<ushort>

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

See Also

ShiftLeft_ConstCore(Vector256<int>, int, Vector256<int>, Vector256<int>)

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

public static Vector256<int> ShiftLeft_ConstCore(Vector256<int> value, int shiftAmount, Vector256<int> args0, Vector256<int> args1)

Parameters

value Vector256<int>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~31 (有效范围是 1~31).

args0 Vector256<int>

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

args1 Vector256<int>

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

Returns

Vector256<int>

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

See Also

ShiftLeft_ConstCore(Vector256<uint>, int, Vector256<uint>, Vector256<uint>)

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

[CLSCompliant(false)]
public static Vector256<uint> ShiftLeft_ConstCore(Vector256<uint> value, int shiftAmount, Vector256<uint> args0, Vector256<uint> args1)

Parameters

value Vector256<uint>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~31 (有效范围是 1~31).

args0 Vector256<uint>

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

args1 Vector256<uint>

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

Returns

Vector256<uint>

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

See Also

ShiftLeft_ConstCore(Vector256<long>, int, Vector256<long>, Vector256<long>)

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

public static Vector256<long> ShiftLeft_ConstCore(Vector256<long> value, int shiftAmount, Vector256<long> args0, Vector256<long> args1)

Parameters

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

args0 Vector256<long>

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

args1 Vector256<long>

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

Returns

Vector256<long>

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

See Also

ShiftLeft_ConstCore(Vector256<ulong>, int, Vector256<ulong>, Vector256<ulong>)

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

[CLSCompliant(false)]
public static Vector256<ulong> ShiftLeft_ConstCore(Vector256<ulong> value, int shiftAmount, Vector256<ulong> args0, Vector256<ulong> args1)

Parameters

value Vector256<ulong>

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

shiftAmount int

The number of bits by which to shift each element (每个元素的移位位数). The valid range is 1~63 (有效范围是 1~63).

args0 Vector256<ulong>

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

args1 Vector256<ulong>

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

Returns

Vector256<ulong>

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

See Also