Skip to content
Prev 2464 / 10988 Next

[Rcpp-devel] RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge?

Hi Doug,
On 8 June 2011 03:43, Douglas Bates <bates at stat.wisc.edu> wrote:
The matrix I need to invert is definitely always complex; in fact,
convenient complex algebra is the main attraction of Armadillo for me.
I tried this, and in fact I do use solve() elsewhere in my code, which
calls for another LAPACK routine (zgels.f) not present in R. The
reason I still need inv() is that I have to solve about 300 times a
linear system AX=B with the same matrix A but varying B. A quick
timing last week revealed that using solve() 300 times was typically
slower by a factor of two  in my use case than using inv() once (or
pinv() for that matter, it makes not appreciable difference). I'm
happy to be shown otherwise though.

One option that I'd like to consider is whether the appropriate LAPACK
routines could be wrapped and shipped in a separate package
(discontinued rblas could provide a good starting point). Sadly, I
know nothing about static/dynamic libraries and all this business..

Thanks,

baptiste

Thread (16 messages)

Baptiste Auguie RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge? Jun 3 Dirk Eddelbuettel RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge? Jun 3 Baptiste Auguie RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge? Jun 4 Dirk Eddelbuettel RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge? Jun 4 Baptiste Auguie RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge? Jun 5 Dirk Eddelbuettel RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge? Jun 5 Douglas Bates RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge? Jun 7 Baptiste Auguie RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge? Jun 7 Douglas Bates RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge? Jun 7 Baptiste Auguie RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge? Jun 7 Douglas Bates RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge? Jun 7 Baptiste Auguie RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge? Jun 7 Douglas Bates RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge? Jun 7 Baptiste Auguie RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge? Jun 7 Baptiste Auguie RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge? Jun 22 Dirk Eddelbuettel RcppArmadillo inv() depends on Lapack, zgetri_ not available on CRAN / R-forge? Jun 22