Table of Contents

Method YShuffleX3Insert_Core

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

YShuffleX3Insert_Core<T, TIdx>(IWVectorTraits512, Vector512<T>, Vector512<T>, Vector512<T>, Vector512<T>, (Vector512<TIdx> args0, Vector512<TIdx> args1, Vector512<TIdx> args2, Vector512<TIdx> args3, Vector512<TIdx> args4))

Core calculation for shuffle and insert on 3 vectors (在3个向量上进行换位并插入的核心计算). Its arguments are derived from YShuffleX3Insert_Args (其参数来源于 YShuffleX3Insert_Args). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):back[i].

[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 Vector512<T> YShuffleX3Insert_Core<T, TIdx>(this IWVectorTraits512 athis, Vector512<T> back, Vector512<T> vector0, Vector512<T> vector1, Vector512<T> vector2, (Vector512<TIdx> args0, Vector512<TIdx> args1, Vector512<TIdx> args2, Vector512<TIdx> args3, Vector512<TIdx> args4) args) where T : struct where TIdx : struct

Parameters

athis IWVectorTraits512

This object.

back Vector512<T>

The background vector (背景向量).

vector0 Vector512<T>

The input vector 0 from which values are selected (从中选择值的输入向量0).

vector1 Vector512<T>

The input vector 1 from which values are selected (从中选择值的输入向量1).

vector2 Vector512<T>

The input vector 2 from which values are selected (从中选择值的输入向量2).

args (Vector512<TIdx> args0, Vector512<TIdx> args1, Vector512<TIdx> args2, Vector512<TIdx> args3, Vector512<TIdx> args4)

The arguments(参数). Derived from YShuffleKernel_Args .

Returns

Vector512<T>

A new vector containing the values from input vectors selected by the given indices (一个新向量,其中包含给定 indices 从输入向量集中选择的值).

Type Parameters

T

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

TIdx

The element type of the indices parameter (索引参数的元素类型).

Exceptions

NotSupportedException

These element types(T, TIdx) are not supported.

See Also

YShuffleX3Insert_Core(IWVectorTraits512, Vector512<float>, Vector512<float>, Vector512<float>, Vector512<float>, (Vector512<int> args0, Vector512<int> args1, Vector512<int> args2, Vector512<int> args3, Vector512<int> args4))

Core calculation for shuffle and insert on 3 vectors (在3个向量上进行换位并插入的核心计算). Its arguments are derived from YShuffleX3Insert_Args (其参数来源于 YShuffleX3Insert_Args). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):back[i].

[CLSCompliant(false)]
public static Vector512<float> YShuffleX3Insert_Core(this IWVectorTraits512 athis, Vector512<float> back, Vector512<float> vector0, Vector512<float> vector1, Vector512<float> vector2, (Vector512<int> args0, Vector512<int> args1, Vector512<int> args2, Vector512<int> args3, Vector512<int> args4) args)

Parameters

athis IWVectorTraits512
back Vector512<float>

The background vector (背景向量).

vector0 Vector512<float>

The input vector 0 from which values are selected (从中选择值的输入向量0).

vector1 Vector512<float>

The input vector 1 from which values are selected (从中选择值的输入向量1).

vector2 Vector512<float>

The input vector 2 from which values are selected (从中选择值的输入向量2).

args (Vector512<int> args0, Vector512<int> args1, Vector512<int> args2, Vector512<int> args3, Vector512<int> args4)

The arguments(参数). Derived from YShuffleKernel_Args .

Returns

Vector512<float>

A new vector containing the values from input vectors selected by the given indices (一个新向量,其中包含给定 indices 从输入向量集中选择的值).

See Also

YShuffleX3Insert_Core(IWVectorTraits512, Vector512<double>, Vector512<double>, Vector512<double>, Vector512<double>, (Vector512<long> args0, Vector512<long> args1, Vector512<long> args2, Vector512<long> args3, Vector512<long> args4))

Core calculation for shuffle and insert on 3 vectors (在3个向量上进行换位并插入的核心计算). Its arguments are derived from YShuffleX3Insert_Args (其参数来源于 YShuffleX3Insert_Args). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):back[i].

[CLSCompliant(false)]
public static Vector512<double> YShuffleX3Insert_Core(this IWVectorTraits512 athis, Vector512<double> back, Vector512<double> vector0, Vector512<double> vector1, Vector512<double> vector2, (Vector512<long> args0, Vector512<long> args1, Vector512<long> args2, Vector512<long> args3, Vector512<long> args4) args)

Parameters

athis IWVectorTraits512
back Vector512<double>

The background vector (背景向量).

vector0 Vector512<double>

The input vector 0 from which values are selected (从中选择值的输入向量0).

vector1 Vector512<double>

The input vector 1 from which values are selected (从中选择值的输入向量1).

vector2 Vector512<double>

The input vector 2 from which values are selected (从中选择值的输入向量2).

args (Vector512<long> args0, Vector512<long> args1, Vector512<long> args2, Vector512<long> args3, Vector512<long> args4)

The arguments(参数). Derived from YShuffleKernel_Args .

Returns

Vector512<double>

A new vector containing the values from input vectors selected by the given indices (一个新向量,其中包含给定 indices 从输入向量集中选择的值).

See Also

YShuffleX3Insert_Core(IWVectorTraits512, Vector512<sbyte>, Vector512<sbyte>, Vector512<sbyte>, Vector512<sbyte>, (Vector512<sbyte> args0, Vector512<sbyte> args1, Vector512<sbyte> args2, Vector512<sbyte> args3, Vector512<sbyte> args4))

Core calculation for shuffle and insert on 3 vectors (在3个向量上进行换位并插入的核心计算). Its arguments are derived from YShuffleX3Insert_Args (其参数来源于 YShuffleX3Insert_Args). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):back[i].

[CLSCompliant(false)]
public static Vector512<sbyte> YShuffleX3Insert_Core(this IWVectorTraits512 athis, Vector512<sbyte> back, Vector512<sbyte> vector0, Vector512<sbyte> vector1, Vector512<sbyte> vector2, (Vector512<sbyte> args0, Vector512<sbyte> args1, Vector512<sbyte> args2, Vector512<sbyte> args3, Vector512<sbyte> args4) args)

Parameters

athis IWVectorTraits512
back Vector512<sbyte>

The background vector (背景向量).

vector0 Vector512<sbyte>

The input vector 0 from which values are selected (从中选择值的输入向量0).

vector1 Vector512<sbyte>

The input vector 1 from which values are selected (从中选择值的输入向量1).

vector2 Vector512<sbyte>

The input vector 2 from which values are selected (从中选择值的输入向量2).

args (Vector512<sbyte> args0, Vector512<sbyte> args1, Vector512<sbyte> args2, Vector512<sbyte> args3, Vector512<sbyte> args4)

The arguments(参数). Derived from YShuffleKernel_Args .

Returns

Vector512<sbyte>

A new vector containing the values from input vectors selected by the given indices (一个新向量,其中包含给定 indices 从输入向量集中选择的值).

See Also

YShuffleX3Insert_Core(IWVectorTraits512, Vector512<byte>, Vector512<byte>, Vector512<byte>, Vector512<byte>, (Vector512<byte> args0, Vector512<byte> args1, Vector512<byte> args2, Vector512<byte> args3, Vector512<byte> args4))

Core calculation for shuffle and insert on 3 vectors (在3个向量上进行换位并插入的核心计算). Its arguments are derived from YShuffleX3Insert_Args (其参数来源于 YShuffleX3Insert_Args). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):back[i].

[CLSCompliant(false)]
public static Vector512<byte> YShuffleX3Insert_Core(this IWVectorTraits512 athis, Vector512<byte> back, Vector512<byte> vector0, Vector512<byte> vector1, Vector512<byte> vector2, (Vector512<byte> args0, Vector512<byte> args1, Vector512<byte> args2, Vector512<byte> args3, Vector512<byte> args4) args)

Parameters

athis IWVectorTraits512
back Vector512<byte>

The background vector (背景向量).

vector0 Vector512<byte>

The input vector 0 from which values are selected (从中选择值的输入向量0).

vector1 Vector512<byte>

The input vector 1 from which values are selected (从中选择值的输入向量1).

vector2 Vector512<byte>

The input vector 2 from which values are selected (从中选择值的输入向量2).

args (Vector512<byte> args0, Vector512<byte> args1, Vector512<byte> args2, Vector512<byte> args3, Vector512<byte> args4)

The arguments(参数). Derived from YShuffleKernel_Args .

Returns

Vector512<byte>

A new vector containing the values from input vectors selected by the given indices (一个新向量,其中包含给定 indices 从输入向量集中选择的值).

See Also

YShuffleX3Insert_Core(IWVectorTraits512, Vector512<short>, Vector512<short>, Vector512<short>, Vector512<short>, (Vector512<short> args0, Vector512<short> args1, Vector512<short> args2, Vector512<short> args3, Vector512<short> args4))

Core calculation for shuffle and insert on 3 vectors (在3个向量上进行换位并插入的核心计算). Its arguments are derived from YShuffleX3Insert_Args (其参数来源于 YShuffleX3Insert_Args). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):back[i].

[CLSCompliant(false)]
public static Vector512<short> YShuffleX3Insert_Core(this IWVectorTraits512 athis, Vector512<short> back, Vector512<short> vector0, Vector512<short> vector1, Vector512<short> vector2, (Vector512<short> args0, Vector512<short> args1, Vector512<short> args2, Vector512<short> args3, Vector512<short> args4) args)

Parameters

athis IWVectorTraits512
back Vector512<short>

The background vector (背景向量).

vector0 Vector512<short>

The input vector 0 from which values are selected (从中选择值的输入向量0).

vector1 Vector512<short>

The input vector 1 from which values are selected (从中选择值的输入向量1).

vector2 Vector512<short>

The input vector 2 from which values are selected (从中选择值的输入向量2).

args (Vector512<short> args0, Vector512<short> args1, Vector512<short> args2, Vector512<short> args3, Vector512<short> args4)

The arguments(参数). Derived from YShuffleKernel_Args .

Returns

Vector512<short>

A new vector containing the values from input vectors selected by the given indices (一个新向量,其中包含给定 indices 从输入向量集中选择的值).

See Also

YShuffleX3Insert_Core(IWVectorTraits512, Vector512<ushort>, Vector512<ushort>, Vector512<ushort>, Vector512<ushort>, (Vector512<ushort> args0, Vector512<ushort> args1, Vector512<ushort> args2, Vector512<ushort> args3, Vector512<ushort> args4))

Core calculation for shuffle and insert on 3 vectors (在3个向量上进行换位并插入的核心计算). Its arguments are derived from YShuffleX3Insert_Args (其参数来源于 YShuffleX3Insert_Args). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):back[i].

[CLSCompliant(false)]
public static Vector512<ushort> YShuffleX3Insert_Core(this IWVectorTraits512 athis, Vector512<ushort> back, Vector512<ushort> vector0, Vector512<ushort> vector1, Vector512<ushort> vector2, (Vector512<ushort> args0, Vector512<ushort> args1, Vector512<ushort> args2, Vector512<ushort> args3, Vector512<ushort> args4) args)

Parameters

athis IWVectorTraits512
back Vector512<ushort>

The background vector (背景向量).

vector0 Vector512<ushort>

The input vector 0 from which values are selected (从中选择值的输入向量0).

vector1 Vector512<ushort>

The input vector 1 from which values are selected (从中选择值的输入向量1).

vector2 Vector512<ushort>

The input vector 2 from which values are selected (从中选择值的输入向量2).

args (Vector512<ushort> args0, Vector512<ushort> args1, Vector512<ushort> args2, Vector512<ushort> args3, Vector512<ushort> args4)

The arguments(参数). Derived from YShuffleKernel_Args .

Returns

Vector512<ushort>

A new vector containing the values from input vectors selected by the given indices (一个新向量,其中包含给定 indices 从输入向量集中选择的值).

See Also

YShuffleX3Insert_Core(IWVectorTraits512, Vector512<int>, Vector512<int>, Vector512<int>, Vector512<int>, (Vector512<int> args0, Vector512<int> args1, Vector512<int> args2, Vector512<int> args3, Vector512<int> args4))

Core calculation for shuffle and insert on 3 vectors (在3个向量上进行换位并插入的核心计算). Its arguments are derived from YShuffleX3Insert_Args (其参数来源于 YShuffleX3Insert_Args). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):back[i].

[CLSCompliant(false)]
public static Vector512<int> YShuffleX3Insert_Core(this IWVectorTraits512 athis, Vector512<int> back, Vector512<int> vector0, Vector512<int> vector1, Vector512<int> vector2, (Vector512<int> args0, Vector512<int> args1, Vector512<int> args2, Vector512<int> args3, Vector512<int> args4) args)

Parameters

athis IWVectorTraits512
back Vector512<int>

The background vector (背景向量).

vector0 Vector512<int>

The input vector 0 from which values are selected (从中选择值的输入向量0).

vector1 Vector512<int>

The input vector 1 from which values are selected (从中选择值的输入向量1).

vector2 Vector512<int>

The input vector 2 from which values are selected (从中选择值的输入向量2).

args (Vector512<int> args0, Vector512<int> args1, Vector512<int> args2, Vector512<int> args3, Vector512<int> args4)

The arguments(参数). Derived from YShuffleKernel_Args .

Returns

Vector512<int>

A new vector containing the values from input vectors selected by the given indices (一个新向量,其中包含给定 indices 从输入向量集中选择的值).

See Also

YShuffleX3Insert_Core(IWVectorTraits512, Vector512<uint>, Vector512<uint>, Vector512<uint>, Vector512<uint>, (Vector512<uint> args0, Vector512<uint> args1, Vector512<uint> args2, Vector512<uint> args3, Vector512<uint> args4))

Core calculation for shuffle and insert on 3 vectors (在3个向量上进行换位并插入的核心计算). Its arguments are derived from YShuffleX3Insert_Args (其参数来源于 YShuffleX3Insert_Args). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):back[i].

[CLSCompliant(false)]
public static Vector512<uint> YShuffleX3Insert_Core(this IWVectorTraits512 athis, Vector512<uint> back, Vector512<uint> vector0, Vector512<uint> vector1, Vector512<uint> vector2, (Vector512<uint> args0, Vector512<uint> args1, Vector512<uint> args2, Vector512<uint> args3, Vector512<uint> args4) args)

Parameters

athis IWVectorTraits512
back Vector512<uint>

The background vector (背景向量).

vector0 Vector512<uint>

The input vector 0 from which values are selected (从中选择值的输入向量0).

vector1 Vector512<uint>

The input vector 1 from which values are selected (从中选择值的输入向量1).

vector2 Vector512<uint>

The input vector 2 from which values are selected (从中选择值的输入向量2).

args (Vector512<uint> args0, Vector512<uint> args1, Vector512<uint> args2, Vector512<uint> args3, Vector512<uint> args4)

The arguments(参数). Derived from YShuffleKernel_Args .

Returns

Vector512<uint>

A new vector containing the values from input vectors selected by the given indices (一个新向量,其中包含给定 indices 从输入向量集中选择的值).

See Also

YShuffleX3Insert_Core(IWVectorTraits512, Vector512<long>, Vector512<long>, Vector512<long>, Vector512<long>, (Vector512<long> args0, Vector512<long> args1, Vector512<long> args2, Vector512<long> args3, Vector512<long> args4))

Core calculation for shuffle and insert on 3 vectors (在3个向量上进行换位并插入的核心计算). Its arguments are derived from YShuffleX3Insert_Args (其参数来源于 YShuffleX3Insert_Args). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):back[i].

[CLSCompliant(false)]
public static Vector512<long> YShuffleX3Insert_Core(this IWVectorTraits512 athis, Vector512<long> back, Vector512<long> vector0, Vector512<long> vector1, Vector512<long> vector2, (Vector512<long> args0, Vector512<long> args1, Vector512<long> args2, Vector512<long> args3, Vector512<long> args4) args)

Parameters

athis IWVectorTraits512
back Vector512<long>

The background vector (背景向量).

vector0 Vector512<long>

The input vector 0 from which values are selected (从中选择值的输入向量0).

vector1 Vector512<long>

The input vector 1 from which values are selected (从中选择值的输入向量1).

vector2 Vector512<long>

The input vector 2 from which values are selected (从中选择值的输入向量2).

args (Vector512<long> args0, Vector512<long> args1, Vector512<long> args2, Vector512<long> args3, Vector512<long> args4)

The arguments(参数). Derived from YShuffleKernel_Args .

Returns

Vector512<long>

A new vector containing the values from input vectors selected by the given indices (一个新向量,其中包含给定 indices 从输入向量集中选择的值).

See Also

YShuffleX3Insert_Core(IWVectorTraits512, Vector512<ulong>, Vector512<ulong>, Vector512<ulong>, Vector512<ulong>, (Vector512<ulong> args0, Vector512<ulong> args1, Vector512<ulong> args2, Vector512<ulong> args3, Vector512<ulong> args4))

Core calculation for shuffle and insert on 3 vectors (在3个向量上进行换位并插入的核心计算). Its arguments are derived from YShuffleX3Insert_Args (其参数来源于 YShuffleX3Insert_Args). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):back[i].

[CLSCompliant(false)]
public static Vector512<ulong> YShuffleX3Insert_Core(this IWVectorTraits512 athis, Vector512<ulong> back, Vector512<ulong> vector0, Vector512<ulong> vector1, Vector512<ulong> vector2, (Vector512<ulong> args0, Vector512<ulong> args1, Vector512<ulong> args2, Vector512<ulong> args3, Vector512<ulong> args4) args)

Parameters

athis IWVectorTraits512
back Vector512<ulong>

The background vector (背景向量).

vector0 Vector512<ulong>

The input vector 0 from which values are selected (从中选择值的输入向量0).

vector1 Vector512<ulong>

The input vector 1 from which values are selected (从中选择值的输入向量1).

vector2 Vector512<ulong>

The input vector 2 from which values are selected (从中选择值的输入向量2).

args (Vector512<ulong> args0, Vector512<ulong> args1, Vector512<ulong> args2, Vector512<ulong> args3, Vector512<ulong> args4)

The arguments(参数). Derived from YShuffleKernel_Args .

Returns

Vector512<ulong>

A new vector containing the values from input vectors selected by the given indices (一个新向量,其中包含给定 indices 从输入向量集中选择的值).

See Also