norm: Matrix and vector norms.
Description
Compute the norm of a vector or matrix, as determined by the
type.
Usage
maxeig(x)
"maxeig"(x)
norm(x, type, ...)
"norm"(x)
"norm"(x, type = "One")
Arguments
type
character string, specifying the type of matrix
norm to be computed.
A character indicating the type of norm desired.
"O", "o" or "1"- specifies the one norm,
(maximum absolute column sum);
"I" or "i"- specifies the infinity norm (maximum
absolute row sum);
"F" or "f"- specifies the Frobenius norm (the
Euclidean norm of
x treated as if it were a vector);
"M" or "m"- specifies the maximum modulus of
all the elements in
x; and
"2"- specifies the spectral or 2-norm, which
is the largest singular value (
svd) of x.
The default is "O". Only the first character of
type[1] is used.
...
further arguments passed to or from other methods.
Value
the matrix norm, a non-negative number.