Element-wise multiplication operation
mps_mul( rop, op1, op2 ) rop = mps_mul( op1, op2 )
Overloaded usage:
rop=op1.*op2 rop=op1*op2 //With op1 or op2 a scalar.
multi-precision matrix
multi-precision or Scilab matrices or scalars
Multiply element-wise op1
and op2
and put the
result in rop
. op1
and op2
can be any combinations of Scilab or multi-precision matrix. In case of multiplication
between a matrix and a scalar, element-wise multiplication of every elements of the non-scalar
operand will be performed.
Multiply op1
by op2
and put
the result in rop
.
Creates a multi-precision matrix the same size and precision as
op
containing the result.
Overloaded Scilab element-wise multiplication operation.
Exceptionally, when one of the input operands is a scalar the matrix multiplication symbol * can be used. This behavior is consistent with the one found in Scilab matrix operations.
Like most mps functions the mps_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.