Computes either the one or infinity norm, the Frobenius norm,
or the maximum modulus among elements of a matrix.
USAGE:
norm.Matrix(x, type = "M")
REQUIRED ARGUMENTS:
x:
a real or complex Matrix inheriting from class "Matrix".
OPTIONAL ARGUMENTS:
type:
A character indication the type of norm desired. "1" indicates the one norm,
(maximum absolute column sum), "I" indicates the infinity norm (maximum
absolute row sum), "F" indicates the Frobenius norm (the Euclidean norm
of x treated as if it were a vector), and "M" indicates the maximum modulus
of all the elements in x. The default is "M".
VALUE:
A numeric value of class "norm", representing the quantity
chosen according to type.
A copy of the call to "norm" is returned as an attribute.
DETAILS:
Based on the functions dlange and zlange from Lapack (Anderson et al. (1994)).
REFERENCES:
Anderson, E., et al. (1994).
LAPACK User's Guide,
2nd edition, SIAM, Philadelphia.
Golub, G., and Van Loan, C. F. (1989).
Matrix Computations,
2nd edition, Johns Hopkins, Baltimore.