|
Contents | Previous | Next | Subchapters |
| Syntax |
rank(x) |
rank(x, tol) | |
| See Also | cond , det , trace |
tol = maxdim * maxabs * eps
is used where,
matdim is the maximum of the row and column dimension of x,
maxabs is the maximum absolute
singular value
of x,
and eps is machine epsilon
.
If x is a real matrix, machine epsilon corresponds to
single precision, otherwise it corresponds to double-precision.
x = {[1, 0], [0, 2]}
rank(x)
returns
2