
Last chance! 50% off unlimited learning
Sale ends in
x
, using Lapack for dense matrices.
The norm can be the one norm, the infinity norm, the Frobenius norm,
or the maximum modulus among elements of a matrix, as determined by
the value of type
.norm(x, type, ...)
"O"
. Only the first character of
type[1]
is used."norm"
, representing the quantity
chosen according to type
.dlange
, dlansy
, dlantr
, zlange
,
zlansy
, and zlantr
.x <- Hilbert(9)
norm(x, "1")
norm(x, "I")
norm(x, "F")
norm(x, "M")
Run the code above in your browser using DataLab