Displaying 1 result from an estimated 1 matches for "vector_of_point".
2002 May 07
2
passing a matrix to C++ with .C()?
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