Re: [Rcpp-devel] Result of Rcpp Wrap() for Sparse Matrix

2017-06-14 Thread Dirk Eddelbuettel
On 14 June 2017 at 20:44, Dmitriy Selivanov wrote: | My 2 cents. Last couple of years I used sparse matrices a lot. Matrix package | is really great. I'm not sure I understand issue with wrapping - as Doug said | CSC format is main in both Armadillo and Matrix. Given matrix in CSC format | (dgCMat

Re: [Rcpp-devel] Result of Rcpp Wrap() for Sparse Matrix

2017-06-14 Thread Dmitriy Selivanov
ance at the Armadillo documentation indicates that sparse matrices are always in the compressed sparse column (CSC) format. I would point out that the sparse matrix facilities in Eigen and RcppEigen are much more extensive than those in Armadillo. -- next part -- An HTML attachment

Re: [Rcpp-devel] [RcppArmadillo] Result of Rcpp Wrap() for Sparse Matrix

2017-06-14 Thread Serguei Sokol
Le 14/06/2017 à 17:33, Douglas Bates a écrit : On Wed, Jun 14, 2017 at 9:06 AM Serguei Sokol mailto:serguei.so...@gmail.com>> wrote: Le 14/06/2017 à 15:21, Douglas Bates a écrit : > > > On Wed, Jun 14, 2017 at 3:59 AM Serguei Sokol mailto:serguei.so...@gmail.com>

Re: [Rcpp-devel] [RcppArmadillo] Result of Rcpp Wrap() for Sparse Matrix

2017-06-14 Thread Douglas Bates
On Wed, Jun 14, 2017 at 9:06 AM Serguei Sokol wrote: > Le 14/06/2017 à 15:21, Douglas Bates a écrit : > > > > > > On Wed, Jun 14, 2017 at 3:59 AM Serguei Sokol > wrote: > > > > Le 13/06/2017 à 18:24, Douglas Bates a écrit : > > > On Tue, Jun 13, 2017 at 1

Re: [Rcpp-devel] [RcppArmadillo] Result of Rcpp Wrap() for Sparse Matrix

2017-06-14 Thread Serguei Sokol
Le 14/06/2017 à 15:21, Douglas Bates a écrit : On Wed, Jun 14, 2017 at 3:59 AM Serguei Sokol mailto:serguei.so...@gmail.com>> wrote: Le 13/06/2017 à 18:24, Douglas Bates a écrit : > On Tue, Jun 13, 2017 at 10:56 AM Binxiang Ni mailto:binxian...@gmail.com>

Re: [Rcpp-devel] [RcppArmadillo] Result of Rcpp Wrap() for Sparse Matrix

2017-06-14 Thread Dirk Eddelbuettel
On 14 June 2017 at 11:00, Serguei Sokol wrote: | Le 13/06/2017 à 18:24, Douglas Bates a écrit : | > On Tue, Jun 13, 2017 at 10:56 AM Binxiang Ni mailto:binxian...@gmail.com>> wrote: | > | > Hi, | > | > I am working on fixing sparse matrix conversion for RcppArmadillo. Now a problem come

Re: [Rcpp-devel] [RcppArmadillo] Result of Rcpp Wrap() for Sparse Matrix

2017-06-14 Thread Douglas Bates
On Wed, Jun 14, 2017 at 3:59 AM Serguei Sokol wrote: > Le 13/06/2017 à 18:24, Douglas Bates a écrit : > > On Tue, Jun 13, 2017 at 10:56 AM Binxiang Ni > wrote: > > > > Hi, > > > > I am working on fixing sparse matrix conversion for RcppArmadillo. > Now a prob

Re: [Rcpp-devel] [RcppArmadillo] Result of Rcpp Wrap() for Sparse Matrix

2017-06-14 Thread Serguei Sokol
Le 13/06/2017 à 18:24, Douglas Bates a écrit : On Tue, Jun 13, 2017 at 10:56 AM Binxiang Ni mailto:binxian...@gmail.com>> wrote: Hi, I am working on fixing sparse matrix conversion for RcppArmadillo. Now a problem comes up to me: what kind of sparse matrix is expected to pass from