Addition operation
mps_add( rop, op1, op2 ) rop = mps_add( op1, op2 )
Overloaded usage:
rop=op1 + op2
multi-precision matrix
multi-precision or Scilab matrices or scalars
Add op1
to op2
and put the
result in rop
. op1
and op2
can be any combinations of Scilab or multi-precision matrix. In case of addition
between a matrix and a scalar, element-wise addition of every elements of the non-scalar
operand will be performed.
Add op1
to op2
and put
the result in rop
.
Creates a multi-precision matrix the same size and precision as
op
containing the result.
Overloaded Scilab addition operation.
Like most mps functions the mps_add( 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.