clear_matrixT_clear_matrixClearMatrixClearMatrixclear_matrix (算子名称)

名称

clear_matrixT_clear_matrixClearMatrixClearMatrixclear_matrix — Free the memory of a matrix.

参数签名

clear_matrix( : : MatrixID : )

Herror T_clear_matrix(const Htuple MatrixID)

void ClearMatrix(const HTuple& MatrixID)

static void HMatrix::ClearMatrix(const HMatrixArray& MatrixID)

void HMatrix::ClearMatrix() const

static void HOperatorSet.ClearMatrix(HTuple matrixID)

static void HMatrix.ClearMatrix(HMatrix[] matrixID)

void HMatrix.ClearMatrix()

def clear_matrix(matrix_id: MaybeSequence[HHandle]) -> None

描述

The operator clear_matrixclear_matrixClearMatrixClearMatrixClearMatrixclear_matrix frees the memory of the matrix Matrix given by the matrix handle MatrixIDMatrixIDMatrixIDMatrixIDmatrixIDmatrix_id. After calling clear_matrixclear_matrixClearMatrixClearMatrixClearMatrixclear_matrix, the Matrix can no longer be used. The matrix handle MatrixIDMatrixIDMatrixIDMatrixIDmatrixIDmatrix_id becomes invalid.

运行信息

This operator modifies the state of the following input parameter:

During execution of this operator, access to the value of this parameter must be synchronized if it is used across multiple threads.

参数表

MatrixIDMatrixIDMatrixIDMatrixIDmatrixIDmatrix_id (input_control, state is modified)  matrix(-array) HMatrix, HTupleMaybeSequence[HHandle]HTupleHtuple (handle) (IntPtr) (HHandle) (handle)

Matrix handle.

结果

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

可能的前置算子

create_matrixcreate_matrixCreateMatrixCreateMatrixCreateMatrixcreate_matrix

模块

Foundation