
Last chance! 50% off unlimited learning
Sale ends in
rcond(x, type, ...)
"O"
for the 1-norm. The other possible value is
"I"
for the infinity norm.x
.Condition numbers are usually estimated, since exact computation is costly in terms of floating-point operations. An (over) estimate of reciprocal condition number is given, since by doing so overflow is avoided. Matrices are well-conditioned if the reciprocal condition number is near 1 and ill-conditioned if it is near zero.
x <- Matrix(rnorm(9), 3, 3)
rcond(x)
rcond(Hilbert(9)) # should be about 9.1e-13
Run the code above in your browser using DataLab