-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Small inconsistency in the lmBenchmark.R
file?
#126
Comments
It could be a mismatch. The enum {ColPivQR_t = 0, QR_t, LLT_t, LDLT_t, SVD_t, SymmEigen_t, GESDD_t}; so that would LLT be 2 and LDLT be 3. The actualy branching is in in the static inline function |
Is it possible that the documentation is behind? It doesn't seem to mention: ## SVD using the Lapack subroutine dgesdd and Eigen support
exprs["GESDD"] <- alist(RcppEigen::fastLmPure(mm, y, 6L)) |
[ NNB: You could make this easier by stating which files you take snippets from or use the GitHub feature of a link with an anchor. ] From what I just quoted, the |
Here is the link to the documentation file if you want to check.
https://github.com/RcppCore/RcppEigen/blob/ab4dcd2df8bde40b26c533896e75d691371fac4a/man/fastLm.Rd#LL35C1-L40C63
\item{method}{an integer scalar with value 0 for the column-pivoted QR
decomposition, 1 for the unpivoted QR decomposition, 2 for the LLT
Cholesky, 3 for the LDLT Cholesky, 4 for the Jacobi singular value
decomposition (SVD) and 5 for a method based on the
eigenvalue-eigenvector decomposition of
\eqn{\mathbf{X}^\prime\mathbf{X}}{X'X}. Default is zero.}
|
In the
lmBenchmark.R
file I readbut in the documentation for
RcppEigen::fastLm
the method is described asIs this correct?
The text was updated successfully, but these errors were encountered: