ClassesClassesClassesClasses | | | | Operators

transpose_matrixtranspose_matrixTransposeMatrixtranspose_matrixTransposeMatrixTransposeMatrix (Operator)

Name

transpose_matrixtranspose_matrixTransposeMatrixtranspose_matrixTransposeMatrixTransposeMatrix — Transpose a matrix.

Signature

transpose_matrix( : : MatrixID : MatrixTransposedID)

Herror transpose_matrix(const Hlong MatrixID, Hlong* MatrixTransposedID)

Herror T_transpose_matrix(const Htuple MatrixID, Htuple* MatrixTransposedID)

Herror transpose_matrix(const HTuple& MatrixID, Hlong* MatrixTransposedID)

HMatrix HMatrix::TransposeMatrix() const

void TransposeMatrix(const HTuple& MatrixID, HTuple* MatrixTransposedID)

HMatrix HMatrix::TransposeMatrix() const

void HOperatorSetX.TransposeMatrix(
[in] VARIANT MatrixID, [out] VARIANT* MatrixTransposedID)

IHMatrixX* HMatrixX.TransposeMatrix()

static void HOperatorSet.TransposeMatrix(HTuple matrixID, out HTuple matrixTransposedID)

HMatrix HMatrix.TransposeMatrix()

Description

The operator transpose_matrixtranspose_matrixTransposeMatrixtranspose_matrixTransposeMatrixTransposeMatrix returns the transpose of the input MatrixMatrixMatrixMatrixMatrixmatrix. The input matrix is defined by the matrix handle MatrixIDMatrixIDMatrixIDMatrixIDMatrixIDmatrixID. A new matrix MatrixTransposedMatrixTransposedMatrixTransposedMatrixTransposedMatrixTransposedmatrixTransposed is generated with the result and the matrix handle MatrixTransposedIDMatrixTransposedIDMatrixTransposedIDMatrixTransposedIDMatrixTransposedIDmatrixTransposedID of this matrix is returned. Access to the elements of the matrix is possible e.g. with the operator get_full_matrixget_full_matrixGetFullMatrixget_full_matrixGetFullMatrixGetFullMatrix.

Example:

Parallelization

Parameters

MatrixIDMatrixIDMatrixIDMatrixIDMatrixIDmatrixID (input_control)  matrix HMatrix, HTupleHTupleHMatrix, HTupleHMatrixX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Matrix handle of the input matrix.

MatrixTransposedIDMatrixTransposedIDMatrixTransposedIDMatrixTransposedIDMatrixTransposedIDmatrixTransposedID (output_control)  matrix HMatrix, HTupleHTupleHMatrix, HTupleHMatrixX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong) (Hlong)

Matrix handle with the transpose of the input matrix.

Result

If the parameters are valid, the operator transpose_matrixtranspose_matrixTransposeMatrixtranspose_matrixTransposeMatrixTransposeMatrix returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.

Possible Predecessors

create_matrixcreate_matrixCreateMatrixcreate_matrixCreateMatrixCreateMatrix

Possible Successors

get_full_matrixget_full_matrixGetFullMatrixget_full_matrixGetFullMatrixGetFullMatrix, get_value_matrixget_value_matrixGetValueMatrixget_value_matrixGetValueMatrixGetValueMatrix

Alternatives

transpose_matrix_modtranspose_matrix_modTransposeMatrixModtranspose_matrix_modTransposeMatrixModTransposeMatrixMod

See also

invert_matrixinvert_matrixInvertMatrixinvert_matrixInvertMatrixInvertMatrix, invert_matrix_modinvert_matrix_modInvertMatrixModinvert_matrix_modInvertMatrixModInvertMatrixMod

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


ClassesClassesClassesClasses | | | | Operators