Compute the p-norm of the matrix a. If the second argument is missing,
p = 2is assumed.If a is a matrix:
- p =
1- 1-norm, the largest column sum of the absolute values of a.
- p =
2- Largest singular value of a.
- p =
Infor"inf"- Infinity norm, the largest row sum of the absolute values of a.
- p =
"fro"- Frobenius norm of a,
sqrt (sum (diag (a' *a))).If a is a vector or a scalar:
- p =
Infor"inf"max (abs (a)).- p =
-Infmin (abs (a)).- p =
"fro"- Frobenius norm of a,
sqrt (sumsq (abs (a))).- other
- p-norm of a,
(sum (abs (a) .^p)) ^ (1/p).