transpose_matrix T_transpose_matrix TransposeMatrix TransposeMatrix transpose_matrix (Operator)
Name
transpose_matrix T_transpose_matrix TransposeMatrix TransposeMatrix transpose_matrix
— Transpose a matrix.
Signature
def transpose_matrix (matrix_id : HHandle) -> HHandle
Description
The operator transpose_matrix transpose_matrix TransposeMatrix TransposeMatrix TransposeMatrix transpose_matrix
returns the transpose of the
input Matrix
. The input matrix is defined by the matrix
handle MatrixID MatrixID MatrixID MatrixID matrixID matrix_id
. A new matrix MatrixTransposed
is generated with the result and the matrix handle
MatrixTransposedID MatrixTransposedID MatrixTransposedID MatrixTransposedID matrixTransposedID matrix_transposed_id
of this matrix is returned. Access
to the elements of the matrix is possible e.g., with the operator
get_full_matrix get_full_matrix GetFullMatrix GetFullMatrix GetFullMatrix get_full_matrix
.
Example:
Execution Information
Multithreading type: reentrant (runs in parallel with non-exclusive operators).
Multithreading scope: global (may be called from any thread).
Processed without parallelization.
Parameters
MatrixID MatrixID MatrixID MatrixID matrixID matrix_id
(input_control) matrix →
HMatrix , HTuple HHandle HTuple Htuple (handle) (IntPtr ) (HHandle ) (handle )
Matrix handle of the input matrix.
MatrixTransposedID MatrixTransposedID MatrixTransposedID MatrixTransposedID matrixTransposedID matrix_transposed_id
(output_control) matrix →
HMatrix , HTuple HHandle HTuple Htuple (handle) (IntPtr ) (HHandle ) (handle )
Matrix handle with the transpose of the input
matrix.
Result
If the parameters are valid, the operator transpose_matrix transpose_matrix TransposeMatrix TransposeMatrix TransposeMatrix transpose_matrix
returns the value 2 (
H_MSG_TRUE )
. If necessary, an exception is raised.
Possible Predecessors
create_matrix create_matrix CreateMatrix CreateMatrix CreateMatrix create_matrix
Possible Successors
get_full_matrix get_full_matrix GetFullMatrix GetFullMatrix GetFullMatrix get_full_matrix
,
get_value_matrix get_value_matrix GetValueMatrix GetValueMatrix GetValueMatrix get_value_matrix
Alternatives
transpose_matrix_mod transpose_matrix_mod TransposeMatrixMod TransposeMatrixMod TransposeMatrixMod transpose_matrix_mod
See also
invert_matrix invert_matrix InvertMatrix InvertMatrix InvertMatrix invert_matrix
,
invert_matrix_mod invert_matrix_mod InvertMatrixMod InvertMatrixMod InvertMatrixMod invert_matrix_mod
References
David Poole: “Linear Algebra: A Modern Introduction”; Thomson;
Belmont; 2006.
Gene H. Golub, Charles F. van Loan: “Matrix Computations”; The
Johns Hopkins University Press; Baltimore and London; 1996.
Module
Foundation