Element-wise cotangent function
mps_cot( rop, op ) rop = mps_cot( op )
multi-precision matrix
Scilab or multi-precision matrix
Calculates the element-wise cotangent of op
and returns the result in rop
.
Like most mps functions the mps_cot( 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.
It is not currently possible to overload the Scilab cotg() function.