Skip to content

get_size_matrixGetSizeMatrixGetSizeMatrixget_size_matrixT_get_size_matrix🔗

Short description🔗

get_size_matrixGetSizeMatrixGetSizeMatrixget_size_matrixT_get_size_matrix — Get the size of a matrix.

Signature🔗

get_size_matrix( matrix MatrixID, out integer Rows, out integer Columns )void GetSizeMatrix( const HTuple& MatrixID, HTuple* Rows, HTuple* Columns )static void HOperatorSet.GetSizeMatrix( HTuple matrixID, out HTuple rows, out HTuple columns )def get_size_matrix( matrix_id: HHandle ) -> Tuple[int, int]

Herror T_get_size_matrix( const Htuple MatrixID, Htuple* Rows, Htuple* Columns )

void HMatrix::GetSizeMatrix( Hlong* Rows, Hlong* Columns ) const

void HMatrix.GetSizeMatrix( out int rows, out int columns )

Description🔗

The operator get_size_matrixGetSizeMatrix returns the number of rows Rowsrowsrows and columns Columnscolumnscolumns of the input Matrix. The input Matrix is defined by the matrix handle MatrixIDmatrixIDmatrix_id.

Execution information🔗

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🔗

MatrixIDmatrixIDmatrix_id (input_control) matrix → (handle)HTuple (HHandle)HMatrix, HTuple (IntPtr)HHandleHtuple (handle)

Matrix handle of the input matrix.

Rowsrowsrows (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

Number of rows of the matrix.

Columnscolumnscolumns (output_control) integer → (integer)HTuple (Hlong)HTuple (int / long)intHtuple (Hlong)

Number of columns of the matrix.

Result🔗

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

Combinations with other operators🔗

Combinations

Possible predecessors

create_matrixCreateMatrix

Possible successors

clear_matrixClearMatrix

Module🔗

Foundation