RcppExample.cpp

Langue: en

Version: 286601 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

src/RcppExample.cpp -

SYNOPSIS


#include 'Rcpp.h'

Classes


class MyRVectorFunc

class MyRListFunc

Functions


RcppExport SEXP Rcpp_Example (SEXP params, SEXP nlist, SEXP numvec, SEXP nummat, SEXP df, SEXP datevec, SEXP stringvec, SEXP fnvec, SEXP fnlist)

RcppExport SEXP RcppParamsExample (SEXP params)

RcppExport SEXP RcppDateExample (SEXP dvsexp, SEXP dtvsexp)

RcppExport SEXP RcppVectorExample (SEXP vector)

Function Documentation

RcppExport SEXP Rcpp_Example (SEXP params, SEXP nlist, SEXP numvec, SEXP nummat, SEXP df, SEXP datevec, SEXP stringvec, SEXP fnvec, SEXP fnlist)

Definition at line 109 of file RcppExample.cpp.

References RcppResultSet::add(), MyRListFunc::addOne(), RcppFrame::addRow(), RcppMatrix< T >::cMatrix(), copyMessageToR(), RcppVector< T >::cVector(), RcppParams::getDateValue(), RcppDate::getDay(), RcppMatrix< T >::getDim1(), RcppMatrix< T >::getDim2(), RcppParams::getDoubleValue(), RcppParams::getIntValue(), RcppDate::getMonth(), RcppNumList::getName(), RcppResultSet::getReturnList(), RcppParams::getStringValue(), MyRVectorFunc::getSum(), RcppNumList::getValue(), RcppDate::getYear(), RcppVector< T >::size(), RcppMatrix< T >::stlMatrix(), and RcppVector< T >::stlVector().

RcppExport SEXP RcppDateExample (SEXP dvsexp, SEXP dtvsexp)

Definition at line 382 of file RcppExample.cpp.

References RcppResultSet::add(), copyMessageToR(), RcppResultSet::getReturnList(), RcppDatetimeVector::size(), and RcppDateVector::size().

RcppExport SEXP RcppParamsExample (SEXP params)

Definition at line 333 of file RcppExample.cpp.

References copyMessageToR(), RcppParams::getDateValue(), RcppDate::getDay(), RcppParams::getDoubleValue(), RcppParams::getIntValue(), RcppDate::getMonth(), RcppParams::getStringValue(), and RcppDate::getYear().

RcppExport SEXP RcppVectorExample (SEXP vector)

Definition at line 423 of file RcppExample.cpp.

References RcppResultSet::add(), copyMessageToR(), RcppResultSet::getReturnList(), and RcppVector< T >::size().

Author

Generated automatically by Doxygen for Rcpp from the source code.