
Last chance! 50% off unlimited learning
Sale ends in
QR factorization and related functions.
# S4 method for float32
qr(x, tol = 1e-07, ...)# S4 method for ANY
qr.Q(qr, complete = FALSE, Dvec)
# S4 method for ANY
qr.R(qr, complete = FALSE)
# S4 method for ANY
qr.qy(qr, y)
# S4 method for ANY
qr.qty(qr, y)
A float matrix.
The tolerance for determining numerical column rank.
Ignored.
Output of qr()
.
Should the complete or truncated factor be returned?
Vector of diagonals to use when re-constructing Q (default is 1's).
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)
Run the code above in your browser using DataLab