Table of Contents

Method YShuffleX3_Args

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

YShuffleX3_Args<TIdx>(Vector256<TIdx>, out Vector256<TIdx>, out Vector256<TIdx>, out Vector256<TIdx>, out Vector256<TIdx>, out Vector256<TIdx>)

Arguments calculation for shuffle and clear on 3 vectors (在3个向量上进行换位并清零的参数计算). Provide arguments for YShuffleX3_Core (为 YShuffleX3_Core 提供参数). If the indices value is out of range, the element will be cleared (若索引值超出范围, 元素会被清零). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):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 (因它含有分支语句, 性能较差, 仅适用于单元测试. 一般情况下, 建议使用非泛型版方法).")]
public static void YShuffleX3_Args<TIdx>(Vector256<TIdx> indices, out Vector256<TIdx> args0, out Vector256<TIdx> args1, out Vector256<TIdx> args2, out Vector256<TIdx> args3, out Vector256<TIdx> args4) where TIdx : struct

Parameters

indices Vector256<TIdx>

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

args0 Vector256<TIdx>

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

args1 Vector256<TIdx>

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

args2 Vector256<TIdx>

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

args3 Vector256<TIdx>

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

args4 Vector256<TIdx>

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

Type Parameters

TIdx

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

Exceptions

NotSupportedException

These element types(TIdx) are not supported.

See Also

YShuffleX3_Args<TIdx>(Vector256<TIdx>)

Arguments calculation for shuffle and clear on 3 vectors (在3个向量上进行换位并清零的参数计算). Provide arguments for YShuffleX3_Core (为 YShuffleX3_Core 提供参数). If the indices value is out of range, the element will be cleared (若索引值超出范围, 元素会被清零). Mnemonic: rt[i] := (0<=indices[i] && indices[i]<(Count*3))?( element_ref(indices[i], vector0, vector1, vector2) ):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 (因它含有分支语句, 性能较差, 仅适用于单元测试. 一般情况下, 建议使用非泛型版方法).")]
public static (Vector256<TIdx> args0, Vector256<TIdx> args1, Vector256<TIdx> args2, Vector256<TIdx> args3, Vector256<TIdx> args4) YShuffleX3_Args<TIdx>(Vector256<TIdx> indices) where TIdx : struct

Parameters

indices Vector256<TIdx>

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

Returns

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

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

Type Parameters

TIdx

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

Exceptions

NotSupportedException

These element types(TIdx) are not supported.

YShuffleX3_Args(Vector256<sbyte>)

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

[CLSCompliant(false)]
public static (Vector256<sbyte> args0, Vector256<sbyte> args1, Vector256<sbyte> args2, Vector256<sbyte> args3, Vector256<sbyte> args4) YShuffleX3_Args(Vector256<sbyte> indices)

Parameters

indices Vector256<sbyte>

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

Returns

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

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

See Also

YShuffleX3_Args(Vector256<byte>)

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

public static (Vector256<byte> args0, Vector256<byte> args1, Vector256<byte> args2, Vector256<byte> args3, Vector256<byte> args4) YShuffleX3_Args(Vector256<byte> indices)

Parameters

indices Vector256<byte>

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

Returns

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

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

See Also

YShuffleX3_Args(Vector256<short>)

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

public static (Vector256<short> args0, Vector256<short> args1, Vector256<short> args2, Vector256<short> args3, Vector256<short> args4) YShuffleX3_Args(Vector256<short> indices)

Parameters

indices Vector256<short>

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

Returns

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

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

See Also

YShuffleX3_Args(Vector256<ushort>)

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

[CLSCompliant(false)]
public static (Vector256<ushort> args0, Vector256<ushort> args1, Vector256<ushort> args2, Vector256<ushort> args3, Vector256<ushort> args4) YShuffleX3_Args(Vector256<ushort> indices)

Parameters

indices Vector256<ushort>

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

Returns

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

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

See Also

YShuffleX3_Args(Vector256<int>)

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

public static (Vector256<int> args0, Vector256<int> args1, Vector256<int> args2, Vector256<int> args3, Vector256<int> args4) YShuffleX3_Args(Vector256<int> indices)

Parameters

indices Vector256<int>

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

Returns

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

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

See Also

YShuffleX3_Args(Vector256<uint>)

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

[CLSCompliant(false)]
public static (Vector256<uint> args0, Vector256<uint> args1, Vector256<uint> args2, Vector256<uint> args3, Vector256<uint> args4) YShuffleX3_Args(Vector256<uint> indices)

Parameters

indices Vector256<uint>

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

Returns

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

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

See Also

YShuffleX3_Args(Vector256<long>)

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

public static (Vector256<long> args0, Vector256<long> args1, Vector256<long> args2, Vector256<long> args3, Vector256<long> args4) YShuffleX3_Args(Vector256<long> indices)

Parameters

indices Vector256<long>

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

Returns

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

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

See Also

YShuffleX3_Args(Vector256<ulong>)

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

[CLSCompliant(false)]
public static (Vector256<ulong> args0, Vector256<ulong> args1, Vector256<ulong> args2, Vector256<ulong> args3, Vector256<ulong> args4) YShuffleX3_Args(Vector256<ulong> indices)

Parameters

indices Vector256<ulong>

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

Returns

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

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

See Also

YShuffleX3_Args(Vector256<sbyte>, out Vector256<sbyte>, out Vector256<sbyte>, out Vector256<sbyte>, out Vector256<sbyte>, out Vector256<sbyte>)

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

[CLSCompliant(false)]
public static void YShuffleX3_Args(Vector256<sbyte> indices, out Vector256<sbyte> args0, out Vector256<sbyte> args1, out Vector256<sbyte> args2, out Vector256<sbyte> args3, out Vector256<sbyte> args4)

Parameters

indices Vector256<sbyte>

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

args0 Vector256<sbyte>

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

args1 Vector256<sbyte>

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

args2 Vector256<sbyte>

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

args3 Vector256<sbyte>

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

args4 Vector256<sbyte>

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

See Also

YShuffleX3_Args(Vector256<byte>, out Vector256<byte>, out Vector256<byte>, out Vector256<byte>, out Vector256<byte>, out Vector256<byte>)

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

public static void YShuffleX3_Args(Vector256<byte> indices, out Vector256<byte> args0, out Vector256<byte> args1, out Vector256<byte> args2, out Vector256<byte> args3, out Vector256<byte> args4)

Parameters

indices Vector256<byte>

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

args0 Vector256<byte>

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

args1 Vector256<byte>

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

args2 Vector256<byte>

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

args3 Vector256<byte>

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

args4 Vector256<byte>

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

See Also

YShuffleX3_Args(Vector256<short>, out Vector256<short>, out Vector256<short>, out Vector256<short>, out Vector256<short>, out Vector256<short>)

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

public static void YShuffleX3_Args(Vector256<short> indices, out Vector256<short> args0, out Vector256<short> args1, out Vector256<short> args2, out Vector256<short> args3, out Vector256<short> args4)

Parameters

indices Vector256<short>

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

args0 Vector256<short>

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

args1 Vector256<short>

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

args2 Vector256<short>

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

args3 Vector256<short>

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

args4 Vector256<short>

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

See Also

YShuffleX3_Args(Vector256<ushort>, out Vector256<ushort>, out Vector256<ushort>, out Vector256<ushort>, out Vector256<ushort>, out Vector256<ushort>)

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

[CLSCompliant(false)]
public static void YShuffleX3_Args(Vector256<ushort> indices, out Vector256<ushort> args0, out Vector256<ushort> args1, out Vector256<ushort> args2, out Vector256<ushort> args3, out Vector256<ushort> args4)

Parameters

indices Vector256<ushort>

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

args0 Vector256<ushort>

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

args1 Vector256<ushort>

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

args2 Vector256<ushort>

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

args3 Vector256<ushort>

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

args4 Vector256<ushort>

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

See Also

YShuffleX3_Args(Vector256<int>, out Vector256<int>, out Vector256<int>, out Vector256<int>, out Vector256<int>, out Vector256<int>)

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

public static void YShuffleX3_Args(Vector256<int> indices, out Vector256<int> args0, out Vector256<int> args1, out Vector256<int> args2, out Vector256<int> args3, out Vector256<int> args4)

Parameters

indices Vector256<int>

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

args0 Vector256<int>

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

args1 Vector256<int>

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

args2 Vector256<int>

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

args3 Vector256<int>

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

args4 Vector256<int>

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

See Also

YShuffleX3_Args(Vector256<uint>, out Vector256<uint>, out Vector256<uint>, out Vector256<uint>, out Vector256<uint>, out Vector256<uint>)

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

[CLSCompliant(false)]
public static void YShuffleX3_Args(Vector256<uint> indices, out Vector256<uint> args0, out Vector256<uint> args1, out Vector256<uint> args2, out Vector256<uint> args3, out Vector256<uint> args4)

Parameters

indices Vector256<uint>

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

args0 Vector256<uint>

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

args1 Vector256<uint>

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

args2 Vector256<uint>

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

args3 Vector256<uint>

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

args4 Vector256<uint>

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

See Also

YShuffleX3_Args(Vector256<long>, out Vector256<long>, out Vector256<long>, out Vector256<long>, out Vector256<long>, out Vector256<long>)

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

public static void YShuffleX3_Args(Vector256<long> indices, out Vector256<long> args0, out Vector256<long> args1, out Vector256<long> args2, out Vector256<long> args3, out Vector256<long> args4)

Parameters

indices Vector256<long>

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

args0 Vector256<long>

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

args1 Vector256<long>

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

args2 Vector256<long>

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

args3 Vector256<long>

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

args4 Vector256<long>

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

See Also

YShuffleX3_Args(Vector256<ulong>, out Vector256<ulong>, out Vector256<ulong>, out Vector256<ulong>, out Vector256<ulong>, out Vector256<ulong>)

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

[CLSCompliant(false)]
public static void YShuffleX3_Args(Vector256<ulong> indices, out Vector256<ulong> args0, out Vector256<ulong> args1, out Vector256<ulong> args2, out Vector256<ulong> args3, out Vector256<ulong> args4)

Parameters

indices Vector256<ulong>

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

args0 Vector256<ulong>

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

args1 Vector256<ulong>

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

args2 Vector256<ulong>

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

args3 Vector256<ulong>

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

args4 Vector256<ulong>

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

See Also