qr {float} | R Documentation |
QR factorization and related functions.
## S4 method for signature 'float32' qr(x, tol = 1e-07, ...) ## S4 method for signature 'ANY' qr.Q(qr, complete = FALSE, Dvec) ## S4 method for signature 'ANY' qr.R(qr, complete = FALSE) ## S4 method for signature 'ANY' qr.qy(qr, y) ## S4 method for signature 'ANY' qr.qty(qr, y)
x |
A float matrix. |
tol |
The tolerance for determining numerical column rank. |
... |
Ignored. |
qr |
Output of |
complete |
Should the complete or truncated factor be returned? |
Dvec |
Vector of diagonals to use when re-constructing Q (default is 1's). |
y |
A vector/matrix or right hand sides (int, float, or double). |
The factorization is performed by the LAPACK routine sgeqp3()
. This
should be similar to calling qr()
on an ordinary R matrix with the
argument LAPACK=TRUE
. Calling qr(x, LAPACK=FALSE)
on a double
precision matrix 'x' (the default) will not be comparable in performance (it
is much slower) or numerics to calling qr(s)
where 's' is single a
float matrix.
library(float) x = flrunif(10, 3) qr(x)