From: Francisco J Molina (FJMolina@lbl.gov)
Date: Tue 07 May 2002 - 15:05:20 EST
Message-id: <3CD76090.1FE0984F@lbl.gov>
It seems that it is possible to pass a matrix to C++ by using .C()
The R part of the interface should be something like:
('C++function', matrix, numberRows, numberColumns )
...I guess.
The C++ part of the interface could be something like
void C++( double matrix[][], int numberRows, numberColumns )
but C++ requires to indicate the number of columns, that is, instead of
matrix[][], it should be double matrix[][ numberColumns ]...
This does not look like the right thing to do though.
Can anyone help me with this?
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2.1.3 : Wed 16 Oct 2002 - 11:57:15 EST