Mean of a vector/matrix entries
mps_mean( rop, op [, orientation] ) rop = mps_mean( op [, orientation] )
multi-precision matrix
Multi-precision matrix
Computes the mean value of a matrix's elements.
Computes the mean of all of the elements of op
along the specified orientation
and returns the
result in rop
. The orientation is specified as
a single character either '*', 'r' and 'c' respectively for row, column
and whole matrix.
Creates a multi-precision matrix of the correct size and with the same precision as
op
containing the result.
The mean value is calculated by using an accurate summation to prevent a possibly important loss of precision.