Re: [Rcpp-devel] variable affectation in Rcpp Rcpp Armadillo

2011-06-16 Thread Nicolas Heslot
"matrix", X_="matrix",alpha_="matrix", > mu_="matrix", a_old_="matrix",tau2_="matrix", all_ui_="List", > all_ui2_="List", all_ui3_="List", all_corMat_="List", > all_rd_="List"),b

Re: [Rcpp-devel] variable affectation in Rcpp Rcpp Armadillo

2011-06-16 Thread Nicolas Heslot
t;, mu_="matrix", a_old_="matrix",tau2_="matrix", all_ui_="List", all_ui2_="List", all_ui3_="List", all_corMat_="List", all_rd_="List"),body=src,plugin="RcppArmadillo") Thank you very much for your help Nicolas

Re: [Rcpp-devel] variable affectation in Rcpp Rcpp Armadillo

2011-06-15 Thread Nicolas Heslot
: > > On 15 June 2011 at 20:17, Nicolas Heslot wrote: > | Any idea about this variable reaffectation thing? > > Well ... that still make little sense. Variables are not protected; there > is > nothing stopping you from re-assigning values, be it element-wise, row or > co

Re: [Rcpp-devel] variable affectation in Rcpp Rcpp Armadillo

2011-06-15 Thread Nicolas Heslot
ic to arma classes like arma::mat Nicolas On Wed, Jun 15, 2011 at 8:10 PM, Whit Armstrong wrote: > I'm not giving up yet. I'll implement the distribution that is > missing, and send you the example if you lay out your model w/ > pseudocode. > > -Whit > > > On Wed,

Re: [Rcpp-devel] variable affectation in Rcpp Rcpp Armadillo

2011-06-15 Thread Nicolas Heslot
2 PM, Dirk Eddelbuettel wrote: > > Salut Nicolas, > > On 15 June 2011 at 17:03, Nicolas Heslot wrote: > | Hi rcpp-devel! > | First of all thank you for this awesome tool! > > Pleasure, and welcome. > > | I started a few days ago coding with Rcpp to try to reduce

[Rcpp-devel] variable affectation in Rcpp Rcpp Armadillo

2011-06-15 Thread Nicolas Heslot
Hi rcpp-devel! First of all thank you for this awesome tool! I started a few days ago coding with Rcpp to try to reduce the computing time of a MCMC model. However, I don't have experience with C/C++ and I can't figure out how to reaffect a new content to a variable. This seems probably very simpl