Table of Contents

Method YShuffleX2_Args

Namespace
Zyl.VectorTraits.Impl
Assembly
VectorTraits.dll

YShuffleX2_Args<TIdx>(IWVectorTraits512, Vector512<TIdx>, out Vector512<TIdx>, out Vector512<TIdx>, out Vector512<TIdx>, out Vector512<TIdx>, out Vector512<TIdx>)

Arguments calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的参数计算). Provide arguments for YShuffleX2_Core (为 YShuffleX2_Core 提供参数). If the indices value is out of range, the element will be cleared (若索引值超出范围, 元素会被清零). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0.

[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 void YShuffleX2_Args<TIdx>(this IWVectorTraits512 athis, Vector512<TIdx> indices, out Vector512<TIdx> args0, out Vector512<TIdx> args1, out Vector512<TIdx> args2, out Vector512<TIdx> args3, out Vector512<TIdx> args4) where TIdx : struct

Parameters

athis IWVectorTraits512
indices Vector512<TIdx>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

args0 Vector512<TIdx>

Arguments 0 (参数0). Used for YShuffleX2_Core .

args1 Vector512<TIdx>

Arguments 1 (参数1). Used for YShuffleX2_Core .

args2 Vector512<TIdx>

Arguments 2 (参数2). Used for YShuffleX2_Core .

args3 Vector512<TIdx>

Arguments 3 (参数3). Used for YShuffleX2_Core .

args4 Vector512<TIdx>

Arguments 4 (参数4). Used for YShuffleX2_Core .

Type Parameters

TIdx

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

Exceptions

NotSupportedException

These element types(TIdx) are not supported.

See Also

YShuffleX2_Args<TIdx>(IWVectorTraits512, Vector512<TIdx>)

Arguments calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的参数计算). Provide arguments for YShuffleX2_Core (为 YShuffleX2_Core 提供参数). If the indices value is out of range, the element will be cleared (若索引值超出范围, 元素会被清零). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0.

[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<TIdx> args0, Vector512<TIdx> args1, Vector512<TIdx> args2, Vector512<TIdx> args3, Vector512<TIdx> args4) YShuffleX2_Args<TIdx>(this IWVectorTraits512 athis, Vector512<TIdx> indices) where TIdx : struct

Parameters

athis IWVectorTraits512
indices Vector512<TIdx>

The per-element indices used to select a value from vector (用于从 vector 中选择值的每个元素索引).

Returns

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

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

Type Parameters

TIdx

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

Exceptions

NotSupportedException

These element types(TIdx) are not supported.

YShuffleX2_Args(IWVectorTraits512, Vector512<sbyte>)

Arguments calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的参数计算). Provide arguments for YShuffleX2_Core (为 YShuffleX2_Core 提供参数). If the indices value is out of range, the element will be cleared (若索引值超出范围, 元素会被清零). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0.

[CLSCompliant(false)]
public static (Vector512<sbyte> args0, Vector512<sbyte> args1, Vector512<sbyte> args2, Vector512<sbyte> args3, Vector512<sbyte> args4) YShuffleX2_Args(this IWVectorTraits512 athis, Vector512<sbyte> indices)

Parameters

athis IWVectorTraits512
indices Vector512<sbyte>

The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).

Returns

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

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

See Also

YShuffleX2_Args(IWVectorTraits512, Vector512<byte>)

Arguments calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的参数计算). Provide arguments for YShuffleX2_Core (为 YShuffleX2_Core 提供参数). If the indices value is out of range, the element will be cleared (若索引值超出范围, 元素会被清零). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0.

[CLSCompliant(false)]
public static (Vector512<byte> args0, Vector512<byte> args1, Vector512<byte> args2, Vector512<byte> args3, Vector512<byte> args4) YShuffleX2_Args(this IWVectorTraits512 athis, Vector512<byte> indices)

Parameters

athis IWVectorTraits512
indices Vector512<byte>

The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).

Returns

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

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

See Also

YShuffleX2_Args(IWVectorTraits512, Vector512<short>)

Arguments calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的参数计算). Provide arguments for YShuffleX2_Core (为 YShuffleX2_Core 提供参数). If the indices value is out of range, the element will be cleared (若索引值超出范围, 元素会被清零). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0.

[CLSCompliant(false)]
public static (Vector512<short> args0, Vector512<short> args1, Vector512<short> args2, Vector512<short> args3, Vector512<short> args4) YShuffleX2_Args(this IWVectorTraits512 athis, Vector512<short> indices)

Parameters

athis IWVectorTraits512
indices Vector512<short>

The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).

Returns

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

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

See Also

YShuffleX2_Args(IWVectorTraits512, Vector512<ushort>)

Arguments calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的参数计算). Provide arguments for YShuffleX2_Core (为 YShuffleX2_Core 提供参数). If the indices value is out of range, the element will be cleared (若索引值超出范围, 元素会被清零). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0.

[CLSCompliant(false)]
public static (Vector512<ushort> args0, Vector512<ushort> args1, Vector512<ushort> args2, Vector512<ushort> args3, Vector512<ushort> args4) YShuffleX2_Args(this IWVectorTraits512 athis, Vector512<ushort> indices)

Parameters

athis IWVectorTraits512
indices Vector512<ushort>

The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).

Returns

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

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

See Also

YShuffleX2_Args(IWVectorTraits512, Vector512<int>)

Arguments calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的参数计算). Provide arguments for YShuffleX2_Core (为 YShuffleX2_Core 提供参数). If the indices value is out of range, the element will be cleared (若索引值超出范围, 元素会被清零). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0.

[CLSCompliant(false)]
public static (Vector512<int> args0, Vector512<int> args1, Vector512<int> args2, Vector512<int> args3, Vector512<int> args4) YShuffleX2_Args(this IWVectorTraits512 athis, Vector512<int> indices)

Parameters

athis IWVectorTraits512
indices Vector512<int>

The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).

Returns

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

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

See Also

YShuffleX2_Args(IWVectorTraits512, Vector512<uint>)

Arguments calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的参数计算). Provide arguments for YShuffleX2_Core (为 YShuffleX2_Core 提供参数). If the indices value is out of range, the element will be cleared (若索引值超出范围, 元素会被清零). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0.

[CLSCompliant(false)]
public static (Vector512<uint> args0, Vector512<uint> args1, Vector512<uint> args2, Vector512<uint> args3, Vector512<uint> args4) YShuffleX2_Args(this IWVectorTraits512 athis, Vector512<uint> indices)

Parameters

athis IWVectorTraits512
indices Vector512<uint>

The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).

Returns

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

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

See Also

YShuffleX2_Args(IWVectorTraits512, Vector512<long>)

Arguments calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的参数计算). Provide arguments for YShuffleX2_Core (为 YShuffleX2_Core 提供参数). If the indices value is out of range, the element will be cleared (若索引值超出范围, 元素会被清零). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0.

[CLSCompliant(false)]
public static (Vector512<long> args0, Vector512<long> args1, Vector512<long> args2, Vector512<long> args3, Vector512<long> args4) YShuffleX2_Args(this IWVectorTraits512 athis, Vector512<long> indices)

Parameters

athis IWVectorTraits512
indices Vector512<long>

The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).

Returns

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

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

See Also

YShuffleX2_Args(IWVectorTraits512, Vector512<ulong>)

Arguments calculation for shuffle and clear on 2 vectors (在2个向量上进行换位并清零的参数计算). Provide arguments for YShuffleX2_Core (为 YShuffleX2_Core 提供参数). If the indices value is out of range, the element will be cleared (若索引值超出范围, 元素会被清零). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*2))?( element_ref(indices[i], vector0, vector1) ):0.

[CLSCompliant(false)]
public static (Vector512<ulong> args0, Vector512<ulong> args1, Vector512<ulong> args2, Vector512<ulong> args3, Vector512<ulong> args4) YShuffleX2_Args(this IWVectorTraits512 athis, Vector512<ulong> indices)

Parameters

athis IWVectorTraits512
indices Vector512<ulong>

The per-element indices used to select a value from vectors (用于从输入向量集中选择值的每个元素索引).

Returns

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

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

See Also