算子 set_full_matrixset_full_matrixSetFullMatrixSetFullMatrixSetFullMatrixset_full_matrixsets all
elements of the input Matrix defined by the matrix handle
MatrixIDMatrixIDMatrixIDMatrixIDmatrixIDmatrix_id. The values of the parameter ValuesValuesValuesValuesvaluesvalues can
be a tuple of floating point or integer numbers. Integer numbers
are converted to floating point numbers automatically. The
parameter ValuesValuesValuesValuesvaluesvalues must contain all values in a row-major
order, i.e., stored line by line. In addition, the number of
elements in ValuesValuesValuesValuesvaluesvalues must be 1 or identical to the number of
all elements of the matrix.
Note: The same result can be reached with the operator
create_matrixcreate_matrixCreateMatrixCreateMatrixCreateMatrixcreate_matrix。The advantage by using the operator
set_full_matrixset_full_matrixSetFullMatrixSetFullMatrixSetFullMatrixset_full_matrix is to recycle a matrix that is no longer
needed. Thus, the runtime of the operation takes fewer time.