| Operators |
get_full_matrix — Return all values of a matrix.
The operator get_full_matrix returns the values of all elements of the Matrix given by the matrix handle MatrixID. The output parameter Values is a tuple of floating point numbers and contains all values in a row-major order, i.e., line by line.
Example:
/ 3.0 1.0 -2.0 \
Matrix = | -5.0 7.0 2.0 |
\ -9.0 -4.0 1.0 /
-> Values = [3.0,1.0,-2.0,-5.0,7.0,2.0,-9.0,-4.0,1.0]
Matrix handle of the input matrix.
Values of the matrix elements.
If the parameters are valid, the operator get_full_matrix returns the value 2 (H_MSG_TRUE). If necessary, an exception is raised.
clear_matrix, clear_all_matrices
Foundation
| Operators |