HALCON Reference Manual 10.0.2
Table of Contents / Matrix / Arithmetic ClassesClassesClasses | | | Operators

transpose_matrix_modtranspose_matrix_modtranspose_matrix_modTransposeMatrixModTransposeMatrixMod (Operator)

Name

transpose_matrix_modtranspose_matrix_modtranspose_matrix_modTransposeMatrixModTransposeMatrixMod — Transpose a matrix.

Signature

transpose_matrix_mod( : : MatrixID : )

Herror transpose_matrix_mod(const Hlong MatrixID)

Herror T_transpose_matrix_mod(const Htuple MatrixID)

Herror transpose_matrix_mod(const HTuple& MatrixID)

void HMatrix::TransposeMatrixMod() const

void HOperatorSetX.TransposeMatrixMod([in] VARIANT MatrixID)

void HMatrixX.TransposeMatrixMod()

static void HOperatorSet.TransposeMatrixMod(HTuple matrixID)

void HMatrix.TransposeMatrixMod()

Description

The operator transpose_matrix_modtranspose_matrix_modtranspose_matrix_modTransposeMatrixModTransposeMatrixMod returns the transpose of the input MatrixMatrixMatrixMatrixmatrix. The input matrix is defined by the matrix handle MatrixIDMatrixIDMatrixIDMatrixIDmatrixID. The input matrix is overwritten with the result. Access to the elements of the matrix is possible e.g. with the operator get_full_matrixget_full_matrixget_full_matrixGetFullMatrixGetFullMatrix.

Example:


           /   3.0   1.0  -2.0  \
  Matrix = |  -5.0   7.0   2.0  |
           \  -9.0  -4.0   1.0  /

                 /   3.0  -5.0  -9.0  \
  ->    Matrix = |   1.0   7.0  -4.0  |
                 \  -2.0   2.0   1.0  /

Attention

transpose_matrix_modtranspose_matrix_modtranspose_matrix_modTransposeMatrixModTransposeMatrixMod modifies the content of an already existing matrix.

Parallelization

Parameters

MatrixIDMatrixIDMatrixIDMatrixIDmatrixID (input_control)  matrix HMatrix, HTupleHMatrix, HTupleHMatrixX, VARIANTHtuple (integer) (IntPtr) (Hlong) (Hlong) (Hlong)

Matrix handle of the input matrix.

Result

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

Possible Predecessors

create_matrixcreate_matrixcreate_matrixCreateMatrixCreateMatrix

Possible Successors

get_full_matrixget_full_matrixget_full_matrixGetFullMatrixGetFullMatrix, get_value_matrixget_value_matrixget_value_matrixGetValueMatrixGetValueMatrix

Alternatives

transpose_matrixtranspose_matrixtranspose_matrixTransposeMatrixTransposeMatrix

See also

invert_matrixinvert_matrixinvert_matrixInvertMatrixInvertMatrix, invert_matrix_modinvert_matrix_modinvert_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


Table of Contents / Matrix / Arithmetic ClassesClassesClasses | | | Operators
HALCON Reference Manual 10.0.2 Copyright © 1996-2011 MVTec Software GmbH