Matrix multiplication
mps_mat_mul( rop, op1, op2 ) rop = mps_mat_mul( op1, op2 )
Overloaded usage:
rop = op1 * op2
multi-precision matrix
Scilab double or multi-precision matrix
Compute the matrix multiplication of op1
and
op2
. Exceptionally, if either op1
or
op2
is a scalar and element-wise multiplication is
performed.
In-place matrix inversion. rop
will be
overwritten with the result.
Creates a multi-precision matrix of the correct size containing the result.
Overloaded Scilab matrix multiplication operator.
Create a multi-precision matrix the required size and with the same
precision as o1p
.
Like most mps functions the mps_mat_mul( rop, op1, op2 ) form is faster and
can reuse the space of an existing matrix but requires an already
initialized operand. Also, the same form can be used to perform an in-place
operation when rop
and op
are the
same.
At least one of the input operand must be a multi-precision matrix. Matrix multiplication between two Scilab matrix of double is not implemented .