Package: fastQR 1.2.0

Mauro Bernardi

fastQR: Fast QR Decomposition and Update

Methods for computing QR factorizations and updating or downdating QR and triangular factors when rows or columns are added or removed. Includes compact, thin and complete factorizations, least-squares and ridge regression, and cross-validation. Selected dense operations use the BLAS and LAPACK libraries configured for R. Background references include Golub and Van Loan (2013, ISBN:9781421407944) and Bjorck (2015, <doi:10.1007/978-3-319-05089-8>).

Authors:Mauro Bernardi [aut, cre], Claudio Busatto [aut], Manuela Cattelan [aut]

fastQR_1.2.0.tar.gz
fastQR_1.2.0.zip(r-4.7-x86_64)fastQR_1.2.0.zip(r-4.7-arm64)fastQR_1.2.0.zip(r-4.6-x86_64)fastQR_1.2.0.zip(r-4.6-arm64)
fastQR_1.2.0.tar.gz(r-4.7-arm64)fastQR_1.2.0.tar.gz(r-4.7-x86_64)fastQR_1.2.0.tar.gz(r-4.6-arm64)fastQR_1.2.0.tar.gz(r-4.6-x86_64)
fastQR_1.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
fastQR/json (API)

# Install 'fastQR' in R:
install.packages('fastQR', repos = c('https://cran.r-universe.dev', 'https://cloud.r-project.org'))
Uses libs:
  • openblas– Optimized BLAS
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

openblascpp

1.48 score 487 downloads 34 exports 5 dependencies

Last updated from:574447b787. Checks:10 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-devel-arm64OK220
linux-devel-x86_64OK201
source / vignettesOK396
linux-release-arm64OK194
linux-release-x86_64OK226
windows-devel-arm64OK384
windows-devel-x86_64OK313
windows-release-arm64OK359
windows-release-x86_64OK281
wasm-releaseOK172

Exports:qrqr_coefqr_fastqr_fittedqr_lapackqr_lmqr_lse_coefqr_lse_fittedqr_lse_Qtyqr_lse_Qyqr_lse_residqr_pivot2permqr_Qqr_Q_fullqr_Q_reduced2fullqr_Qtyqr_Qyqr_Rqr_residqr_thinqr_Xqrcholqrdowndateqrlsqrmlsqrmridgeqrmridge_cvqrridgeqrridge_cvqrsolveqrupdatercholrdowndaterupdate

Dependencies:rbibutilsRcppRcppArmadilloRcppEigenRdpack

Readme and manuals

Help Manual

Help pageTopics
The QR factorization of a matrixqr
Compute least-squares coefficients from a QR decompositionqr_coef
Fast full QR decompositionqr_fast
Compute fitted values from a QR decompositionqr_fitted
Unpivoted QR decomposition using R's LAPACK librariesqr_lapack
Ordinary least squares for the linear regression modelqr_lm
Compute least-squares coefficients using QR decompositionqr_lse_coef
Compute fitted values using QR decompositionqr_lse_fitted
Compute Q'y for a least-squares problemqr_lse_Qty
Compute Qy for a least-squares problemqr_lse_Qy
Compute residuals using QR decompositionqr_lse_resid
Reconstruct the permutation matrix from the pivot vector.qr_pivot2perm
Reconstruct the Q, matrix from a QR object.qr_Q
Reconstruct the full Q matrix from the qr object.qr_Q_full
Reconstruct the full Q matrix from the reduced Q matrix.qr_Q_reduced2full
Multiply Q by a vector using a QR decompositionqr_Qty
Multiply Q by a vector using a QR decompositionqr_Qy
Reconstruct the R, matrix from a QR object.qr_R
Compute residuals from a QR decompositionqr_resid
Fast thin QR decompositionqr_thin
Reconstruct the original matrix from which the object was constructed X\in\mathbb{R}^{n\times p} from the Q and R matrices of the QR decomposition.qr_X
Cholesky decomposition via QR factorization.qrchol
Fast downdating of the QR factorizationqrdowndate
Ordinary least squares for the linear regression modelqrls
Ordinary least squares for the linear multivariate regression modelqrmls
multivariate ridge regressionqrmridge
Cross-validation for multivariate ridge regressionqrmridge_cv
ridge regressionqrridge
Cross-validation for ridge regressionqrridge_cv
Solution of linear system of equations, via the QR decomposition.qrsolve
Fast updating of the QR factorizationqrupdate
Cholesky decomposition via R factorization.rchol
Fast downdating of the R matrixrdowndate
Fast updating of the R matrixrupdate