Element-wise power of 2
mps_exp2( rop, op ) rop = mps_exp2( op )
Overloaded usage:
rop = exp2( op )
multi-precision matrix
Scilab or multi-precision matrix
Computes the element-wise power of 2 of op
and returns the result in rop
.
Returns the element-wise power of 2 (2^op) of the entries of
op
.
Creates a multi-precision matrix the same size and precision as
op
containing the result.
Like most mps functions the mps_exp2( rop, op ) 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.