Method YGroup2Transpose
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
YGroup2Transpose<T>(Vector512<T>, Vector512<T>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 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 (因它含有分支语句, 性能较差, 仅适用于单元测试. 一般情况下, 建议使用非泛型版方法).")]
public static (Vector512<T> Result0, Vector512<T> Result1) YGroup2Transpose<T>(Vector512<T> data0, Vector512<T> data1) where T : struct
Parameters
data0
Vector512<T>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<T>Part 1 of the vector data (向量数据的第1部分).
Returns
Type Parameters
T
The element type of the input parameter (输入参数的元素类型).
YGroup2Transpose(Vector512<float>, Vector512<float>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
public static (Vector512<float> Result0, Vector512<float> Result1) YGroup2Transpose(Vector512<float> data0, Vector512<float> data1)
Parameters
data0
Vector512<float>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<float>Part 1 of the vector data (向量数据的第1部分).
Returns
YGroup2Transpose(Vector512<double>, Vector512<double>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
public static (Vector512<double> Result0, Vector512<double> Result1) YGroup2Transpose(Vector512<double> data0, Vector512<double> data1)
Parameters
data0
Vector512<double>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<double>Part 1 of the vector data (向量数据的第1部分).
Returns
YGroup2Transpose(Vector512<sbyte>, Vector512<sbyte>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
[CLSCompliant(false)]
public static (Vector512<sbyte> Result0, Vector512<sbyte> Result1) YGroup2Transpose(Vector512<sbyte> data0, Vector512<sbyte> data1)
Parameters
data0
Vector512<sbyte>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<sbyte>Part 1 of the vector data (向量数据的第1部分).
Returns
YGroup2Transpose(Vector512<byte>, Vector512<byte>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
public static (Vector512<byte> Result0, Vector512<byte> Result1) YGroup2Transpose(Vector512<byte> data0, Vector512<byte> data1)
Parameters
data0
Vector512<byte>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<byte>Part 1 of the vector data (向量数据的第1部分).
Returns
YGroup2Transpose(Vector512<short>, Vector512<short>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
public static (Vector512<short> Result0, Vector512<short> Result1) YGroup2Transpose(Vector512<short> data0, Vector512<short> data1)
Parameters
data0
Vector512<short>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<short>Part 1 of the vector data (向量数据的第1部分).
Returns
YGroup2Transpose(Vector512<ushort>, Vector512<ushort>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
[CLSCompliant(false)]
public static (Vector512<ushort> Result0, Vector512<ushort> Result1) YGroup2Transpose(Vector512<ushort> data0, Vector512<ushort> data1)
Parameters
data0
Vector512<ushort>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<ushort>Part 1 of the vector data (向量数据的第1部分).
Returns
YGroup2Transpose(Vector512<int>, Vector512<int>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
public static (Vector512<int> Result0, Vector512<int> Result1) YGroup2Transpose(Vector512<int> data0, Vector512<int> data1)
Parameters
data0
Vector512<int>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<int>Part 1 of the vector data (向量数据的第1部分).
Returns
YGroup2Transpose(Vector512<uint>, Vector512<uint>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
[CLSCompliant(false)]
public static (Vector512<uint> Result0, Vector512<uint> Result1) YGroup2Transpose(Vector512<uint> data0, Vector512<uint> data1)
Parameters
data0
Vector512<uint>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<uint>Part 1 of the vector data (向量数据的第1部分).
Returns
YGroup2Transpose(Vector512<long>, Vector512<long>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
public static (Vector512<long> Result0, Vector512<long> Result1) YGroup2Transpose(Vector512<long> data0, Vector512<long> data1)
Parameters
data0
Vector512<long>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<long>Part 1 of the vector data (向量数据的第1部分).
Returns
YGroup2Transpose(Vector512<ulong>, Vector512<ulong>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
[CLSCompliant(false)]
public static (Vector512<ulong> Result0, Vector512<ulong> Result1) YGroup2Transpose(Vector512<ulong> data0, Vector512<ulong> data1)
Parameters
data0
Vector512<ulong>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<ulong>Part 1 of the vector data (向量数据的第1部分).
Returns
YGroup2Transpose(Vector512<float>, Vector512<float>, out Vector512<float>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
public static Vector512<float> YGroup2Transpose(Vector512<float> data0, Vector512<float> data1, out Vector512<float> result1)
Parameters
data0
Vector512<float>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<float>Part 1 of the vector data (向量数据的第1部分).
result1
Vector512<float>Returns part 1 of the transposed data (返回转置后数据的第1部分).
Returns
- See Also
YGroup2Transpose(Vector512<double>, Vector512<double>, out Vector512<double>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
public static Vector512<double> YGroup2Transpose(Vector512<double> data0, Vector512<double> data1, out Vector512<double> result1)
Parameters
data0
Vector512<double>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<double>Part 1 of the vector data (向量数据的第1部分).
result1
Vector512<double>Returns part 1 of the transposed data (返回转置后数据的第1部分).
Returns
- See Also
YGroup2Transpose(Vector512<sbyte>, Vector512<sbyte>, out Vector512<sbyte>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
[CLSCompliant(false)]
public static Vector512<sbyte> YGroup2Transpose(Vector512<sbyte> data0, Vector512<sbyte> data1, out Vector512<sbyte> result1)
Parameters
data0
Vector512<sbyte>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<sbyte>Part 1 of the vector data (向量数据的第1部分).
result1
Vector512<sbyte>Returns part 1 of the transposed data (返回转置后数据的第1部分).
Returns
- See Also
YGroup2Transpose(Vector512<byte>, Vector512<byte>, out Vector512<byte>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
public static Vector512<byte> YGroup2Transpose(Vector512<byte> data0, Vector512<byte> data1, out Vector512<byte> result1)
Parameters
data0
Vector512<byte>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<byte>Part 1 of the vector data (向量数据的第1部分).
result1
Vector512<byte>Returns part 1 of the transposed data (返回转置后数据的第1部分).
Returns
- See Also
YGroup2Transpose(Vector512<short>, Vector512<short>, out Vector512<short>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
public static Vector512<short> YGroup2Transpose(Vector512<short> data0, Vector512<short> data1, out Vector512<short> result1)
Parameters
data0
Vector512<short>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<short>Part 1 of the vector data (向量数据的第1部分).
result1
Vector512<short>Returns part 1 of the transposed data (返回转置后数据的第1部分).
Returns
- See Also
YGroup2Transpose(Vector512<ushort>, Vector512<ushort>, out Vector512<ushort>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
[CLSCompliant(false)]
public static Vector512<ushort> YGroup2Transpose(Vector512<ushort> data0, Vector512<ushort> data1, out Vector512<ushort> result1)
Parameters
data0
Vector512<ushort>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<ushort>Part 1 of the vector data (向量数据的第1部分).
result1
Vector512<ushort>Returns part 1 of the transposed data (返回转置后数据的第1部分).
Returns
- See Also
YGroup2Transpose(Vector512<int>, Vector512<int>, out Vector512<int>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
public static Vector512<int> YGroup2Transpose(Vector512<int> data0, Vector512<int> data1, out Vector512<int> result1)
Parameters
data0
Vector512<int>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<int>Part 1 of the vector data (向量数据的第1部分).
result1
Vector512<int>Returns part 1 of the transposed data (返回转置后数据的第1部分).
Returns
- See Also
YGroup2Transpose(Vector512<uint>, Vector512<uint>, out Vector512<uint>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
[CLSCompliant(false)]
public static Vector512<uint> YGroup2Transpose(Vector512<uint> data0, Vector512<uint> data1, out Vector512<uint> result1)
Parameters
data0
Vector512<uint>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<uint>Part 1 of the vector data (向量数据的第1部分).
result1
Vector512<uint>Returns part 1 of the transposed data (返回转置后数据的第1部分).
Returns
- See Also
YGroup2Transpose(Vector512<long>, Vector512<long>, out Vector512<long>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
public static Vector512<long> YGroup2Transpose(Vector512<long> data0, Vector512<long> data1, out Vector512<long> result1)
Parameters
data0
Vector512<long>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<long>Part 1 of the vector data (向量数据的第1部分).
result1
Vector512<long>Returns part 1 of the transposed data (返回转置后数据的第1部分).
Returns
- See Also
YGroup2Transpose(Vector512<ulong>, Vector512<ulong>, out Vector512<ulong>)
Transpose a 22 matrix (对22矩阵进行转置).
Mnemonic: result0[i] := (0==(i&1))?( x[i&~1] ):( y[i&~1] )
, result1[i] := (0==(i&1))?( x[(i&~1) + 1] ):( y[(i&~1) + 1] )
.
[CLSCompliant(false)]
public static Vector512<ulong> YGroup2Transpose(Vector512<ulong> data0, Vector512<ulong> data1, out Vector512<ulong> result1)
Parameters
data0
Vector512<ulong>Part 0 of the vector data (向量数据的第0部分).
data1
Vector512<ulong>Part 1 of the vector data (向量数据的第1部分).
result1
Vector512<ulong>Returns part 1 of the transposed data (返回转置后数据的第1部分).
Returns
- See Also