Re: [Rcpp-devel] iterator for sparse Matrix

2014-01-22 Thread Saurabh B
Apologies, I will break it down and tackle one thing at a time... On Wed, Jan 22, 2014 at 8:13 PM, Dirk Eddelbuettel wrote: > > Saurabh, > > On 22 January 2014 at 18:04, Saurabh B wrote: > | I am running into many issues. Here they are ranked in order of > importance) - > | 1) When I run this

Re: [Rcpp-devel] iterator for sparse Matrix

2014-01-22 Thread Dirk Eddelbuettel
Saurabh, On 22 January 2014 at 18:04, Saurabh B wrote: | I am running into many issues. Here they are ranked in order of importance) - | 1) When I run this (incorrect) program - | stochDescCpp(param = rep(0,3), x = X, y = Y, maxit = 100) | | I get - | Error in .Primitive(".Call")(, param, x,  : 

[Rcpp-devel] iterator for sparse Matrix

2014-01-22 Thread Saurabh B
Hi there, I am new to RcppArmadillo and very excited about the sparse matrix functionality it offers. I have a large optim that I wish to break down into stochastic descent in Rcpp to speed things up. To start small, I used a simple logisitic regression function that I have working in R - Norm <