Rcpp Version 0.9.10
Rcpp::MatrixBase< RTYPE, na, MATRIX > Class Template Reference

#include <MatrixBase.h>

Inheritance diagram for Rcpp::MatrixBase< RTYPE, na, MATRIX >:
Collaboration diagram for Rcpp::MatrixBase< RTYPE, na, MATRIX >:

List of all members.

Classes

struct  can_have_na
class  iterator
struct  r_matrix_interface
struct  r_type

Public Types

typedef traits::storage_type
< RTYPE >::type 
stored_type

Public Member Functions

MATRIX & get_ref ()
stored_type operator() (int i, int j) const
int size () const
int nrow () const
int ncol () const
iterator begin () const
iterator end () const

Detailed Description

template<int RTYPE, bool na, typename MATRIX>
class Rcpp::MatrixBase< RTYPE, na, MATRIX >

a base class for vectors, modelled after the CRTP

Definition at line 31 of file MatrixBase.h.


Member Typedef Documentation

template<int RTYPE, bool na, typename MATRIX>
typedef traits::storage_type<RTYPE>::type Rcpp::MatrixBase< RTYPE, na, MATRIX >::stored_type

Definition at line 36 of file MatrixBase.h.


Member Function Documentation

template<int RTYPE, bool na, typename MATRIX>
iterator Rcpp::MatrixBase< RTYPE, na, MATRIX >::begin ( ) const [inline]

Definition at line 167 of file MatrixBase.h.

template<int RTYPE, bool na, typename MATRIX>
iterator Rcpp::MatrixBase< RTYPE, na, MATRIX >::end ( ) const [inline]

Definition at line 168 of file MatrixBase.h.

template<int RTYPE, bool na, typename MATRIX>
MATRIX& Rcpp::MatrixBase< RTYPE, na, MATRIX >::get_ref ( ) [inline]

Definition at line 38 of file MatrixBase.h.

Referenced by Rcpp::internal::as_vector__impl().

template<int RTYPE, bool na, typename MATRIX>
stored_type Rcpp::MatrixBase< RTYPE, na, MATRIX >::operator() ( int  i,
int  j 
) const [inline]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Friends Defines