Description
Returns the Euclidean norm of each row of x where x is a
real, double-precision, or complex matrix.
The return value is a column vector with the same number of rows as
x.
If x is complex,
the return value is double-precision,
otherwise the return value has the same type as x.
The i-th element of the return value is
----------------------------------
/ 2 2 2
/ |x | + |x | + . . . + |x |
\/ i,1 i,2 i,m where m is the number of columns in the matrix x.
Example
If you enter
x = {[1., 1.], [3., 4.]}
rownorm(x)
O-Matrix will respond
{
1.41421
5
}