qr()
takes the QR decomposition.
# S4 method for ddmatrix
qr(x, tol = 1e-07)# S4 method for ANY
qr.Q(x, complete = FALSE, Dvec)
# S4 method for ANY
qr.R(x, complete = FALSE)
# S4 method for ANY
qr.qy(x, y)
# S4 method for ANY
qr.qty(x, y)
lq(x)
lq.Q(x, complete = FALSE)
numeric distributed matrices for qr()
. Otherwise, x
is a list, namely the return from qr()
.
logical value, determines whether or not columns are zero centered.
logical expression of length 1. Indicates whether an arbitrary orthogonal completion of the Q or X matrices is to be made, or whether the R matrix is to be completed by binding zero-value rows beneath the square upper triangle.
Not implemented for objects of class ddmatrix
. vector
(not matrix) of diagonal values. Each column of the returned Q will be
multiplied by the corresponding diagonal value. Defaults to all 1's.
qr()
returns a list consisting of: qr
- rank
-
calculated numerical rank, tau
- pivot
- "class"
-
attribute "qr".
qr.Q()
recovers Q from the output of qr()
.
qr.R()
recovers R from the output of qr()
.
qr.qy()
multiplies y
by Q.
qr.qty()
multiplies y
by the transpose of Q.
Functions for forming a QR decomposition and for using the outputs of these numerical QR routines.