RcppMatrixView

Langue: en

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

Section: 3 (Bibliothèques de fonctions)

NAME

RcppMatrixView -

SYNOPSIS


#include <Rcpp.h>

Public Member Functions


RcppMatrixView (SEXP mat)

int dim1 () const

int dim2 () const

T operator() (int i, int j) const

Private Attributes


int d1

int d2

T * a

Detailed Description

template<typename T> class RcppMatrixView< T >

Definition at line 488 of file Rcpp.h.

Constructor & Destructor Documentation

template<typename T> RcppMatrixView< T >::RcppMatrixView (SEXP mat) [inline]

Definition at line 427 of file Rcpp.cpp.

References RcppMatrixView< T >::a, RcppMatrixView< T >::d1, and RcppMatrixView< T >::d2.

Member Function Documentation

template<typename T> int RcppMatrixView< T >::dim1 () const [inline]

Definition at line 491 of file Rcpp.h.

References RcppMatrixView< T >::d1.

template<typename T> int RcppMatrixView< T >::dim2 () const [inline]

Definition at line 492 of file Rcpp.h.

References RcppMatrixView< T >::d2.

template<typename T> T RcppMatrixView< T >::operator() (int i, int j) const [inline]

Definition at line 493 of file Rcpp.h.

References RcppMatrixView< T >::a, RcppMatrixView< T >::d1, and RcppMatrixView< T >::d2.

Member Data Documentation

template<typename T> int RcppMatrixView< T >::d1 [private]

Definition at line 502 of file Rcpp.h.

Referenced by RcppMatrixView< T >::dim1(), RcppMatrixView< T >::operator()(), and RcppMatrixView< T >::RcppMatrixView().

template<typename T> int RcppMatrixView< T >::d2 [private]

Definition at line 502 of file Rcpp.h.

Referenced by RcppMatrixView< T >::dim2(), RcppMatrixView< T >::operator()(), and RcppMatrixView< T >::RcppMatrixView().

template<typename T> T* RcppMatrixView< T >::a [private]

Definition at line 503 of file Rcpp.h.

Referenced by RcppMatrixView< T >::operator()(), and RcppMatrixView< T >::RcppMatrixView().

Author

Generated automatically by Doxygen for Rcpp from the source code.