On Wed, Aug 18, 2010 at 7:22 AM, Dirk Eddelbuettel wrote:
>
> On 18 August 2010 at 09:10, Romain Francois wrote:
> | Yep, that is because of RcppExport. You only use RcppExport when you
> | call the function from .Call in R.
> |
> | RcppExport is an alias to extern "C" so it essentially voids the
After some discussion this morning with Conrad (who develops Armadillo),
we've come up with a way that is not too intrusive on armadillo itself
(it adds about 6 lines of code), yet opens a door for RcppArmadillo to
adds its own constructors to the Mat template class.
I've added this one now :
On 18 August 2010 at 13:31, Romain Francois wrote:
| Le 18/08/10 13:22, Dirk Eddelbuettel a écrit :
| >
| > On 18 August 2010 at 09:10, Romain Francois wrote:
| > | Yep, that is because of RcppExport. You only use RcppExport when you
| > | call the function from .Call in R.
| > |
| > | RcppExport
Le 18/08/10 13:22, Dirk Eddelbuettel a écrit :
On 18 August 2010 at 09:10, Romain Francois wrote:
| Yep, that is because of RcppExport. You only use RcppExport when you
| call the function from .Call in R.
|
| RcppExport is an alias to extern "C" so it essentially voids the
| C++-ness of the fun
On 18 August 2010 at 09:10, Romain Francois wrote:
| Yep, that is because of RcppExport. You only use RcppExport when you
| call the function from .Call in R.
|
| RcppExport is an alias to extern "C" so it essentially voids the
| C++-ness of the function it is applied to.
For completeness: It
Got it, thanks!
On Wed, Aug 18, 2010 at 12:10 AM, Romain Francois
wrote:
> Yep, that is because of RcppExport. You only use RcppExport when you call
> the function from .Call in R.
>
> RcppExport is an alias to extern "C" so it essentially voids the C++-ness of
> the function it is applied to.
>
Yep, that is because of RcppExport. You only use RcppExport when you
call the function from .Call in R.
RcppExport is an alias to extern "C" so it essentially voids the
C++-ness of the function it is applied to.
Romain
Le 18/08/10 09:05, Christian Gunning a écrit :
I'm using a package gener
I'm using a package generated by Rcpp.package.skeleton. No C files.
Upon reflection, I'm not entirely sure I have the header right,
though.
///
// rcpp_operators.h:
///
#ifndef _Rcwttest_RCPP_OPERATORS_H
#define _Rcwttest_RCPP_OPERATORS_H
#include
RcppExport Rcomplex operator*(const Rcom