orth | R Documentation |
Range space or image of a matrix.
orth(M)
M |
Numeric matrix; vectors will be considered as column vectors. |
B=orth(A)
returns an orthonormal basis for the range of A
.
The columns of B
span the same space as the columns of A
,
and the columns of B
are orthogonal to each other.
The number of columns of B
is the rank of A
.
Matrix of orthogonal columns, spanning the image of M
.
Trefethen, L. N., and D. Bau III. (1997). Numerical Linear Algebra. SIAM, Philadelphia.
nullspace
M <- matrix(1:12, 3, 4)
Rank(M) #=> 2
orth(M)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.