Re: [Rcpp-devel] inheritance

2011-10-04 Thread Dirk Eddelbuettel
On 4 October 2011 at 19:53, Richard Downe wrote: | Since I'm a bit of a glutton for punishment, and I would like to see | this feature...are there major technical hurdles as to why this has not | been implemented (e.g., I should just give up and find another way), or | is it more just a "nobody

Re: [Rcpp-devel] inheritance

2011-10-04 Thread Richard Downe
Since I'm a bit of a glutton for punishment, and I would like to see this feature...are there major technical hurdles as to why this has not been implemented (e.g., I should just give up and find another way), or is it more just a "nobody's gotten around to it because it's good enough how it is

Re: [Rcpp-devel] inheritance

2011-10-04 Thread Dirk Eddelbuettel
On 4 October 2011 at 17:29, Richard Downe wrote: | I'm fairly sure I'm not doing anything at all with multiple | inheritance. This is a single instance of single inheritance. My bad, sloppy language here. I think I meant to say that Rcpp modules does what is in the vignette: easy access to s

Re: [Rcpp-devel] inheritance

2011-10-04 Thread Richard Downe
I'm fairly sure I'm not doing anything at all with multiple inheritance. This is a single instance of single inheritance. I will peruse the list; what I had seen in my searches so far had suggested no conclusive answer. --rd On 10/04/2011 05:23 PM, Dirk Eddelbuettel wrote: Richard, Welcome!

Re: [Rcpp-devel] inheritance

2011-10-04 Thread Dirk Eddelbuettel
Richard, Welcome! On 4 October 2011 at 16:29, Richard Downe wrote: | Is it possible to have a class wrapped in rcpp inherit directly from a | superclass? | E.g., I have | | class_( "tcfaIndices" ) | | .constructor() | | .method("SetTCFADefinition", &tcfaIndices::SetTCF

[Rcpp-devel] C++ code for ordinary differential equations

2011-10-04 Thread Douglas Bates
I am working with pharmacokinetic/pharmacodynamic models, some of which can only be represented as the solutions of ordinary differential equations. I am looking for ODE sofware written in C++. The deSolve package for R has lots of wonderful functions but I may want to take things apart a bit and

[Rcpp-devel] inheritance

2011-10-04 Thread Richard Downe
Is it possible to have a class wrapped in rcpp inherit directly from a superclass? E.g., I have class_( "tcfaIndices" ) .constructor() .method("SetTCFADefinition", &tcfaIndices::SetTCFADefinition) .method("getTCFALabels", &tcfaIndices::getTCFALabels) ; and