Rcpp Version 0.9.10
Rcpp::sugar::Diag_Maker< RTYPE, NA, T > Class Template Reference

#include <diag.h>

Inheritance diagram for Rcpp::sugar::Diag_Maker< RTYPE, NA, T >:
Collaboration diagram for Rcpp::sugar::Diag_Maker< RTYPE, NA, T >:

List of all members.

Public Types

typedef Rcpp::VectorBase
< RTYPE, NA, T > 
VEC_TYPE
typedef
Rcpp::traits::storage_type
< RTYPE >::type 
STORAGE

Public Member Functions

 Diag_Maker (const VEC_TYPE &object_)
STORAGE operator() (int i, int j) const
int size () const
int ncol () const
int nrow () const

Private Attributes

const VEC_TYPEobject
int n

Detailed Description

template<int RTYPE, bool NA, typename T>
class Rcpp::sugar::Diag_Maker< RTYPE, NA, T >

Definition at line 52 of file diag.h.


Member Typedef Documentation

template<int RTYPE, bool NA, typename T >
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::Diag_Maker< RTYPE, NA, T >::STORAGE

Definition at line 55 of file diag.h.

template<int RTYPE, bool NA, typename T >
typedef Rcpp::VectorBase<RTYPE,NA,T> Rcpp::sugar::Diag_Maker< RTYPE, NA, T >::VEC_TYPE

Definition at line 54 of file diag.h.


Constructor & Destructor Documentation

template<int RTYPE, bool NA, typename T >
Rcpp::sugar::Diag_Maker< RTYPE, NA, T >::Diag_Maker ( const VEC_TYPE object_) [inline]

Definition at line 57 of file diag.h.


Member Function Documentation

template<int RTYPE, bool NA, typename T >
int Rcpp::sugar::Diag_Maker< RTYPE, NA, T >::ncol ( ) const [inline]

Reimplemented from Rcpp::MatrixBase< RTYPE, na, MATRIX >.

Definition at line 63 of file diag.h.

References Rcpp::sugar::Diag_Maker< RTYPE, NA, T >::n.

template<int RTYPE, bool NA, typename T >
int Rcpp::sugar::Diag_Maker< RTYPE, NA, T >::nrow ( ) const [inline]

Reimplemented from Rcpp::MatrixBase< RTYPE, na, MATRIX >.

Definition at line 64 of file diag.h.

References Rcpp::sugar::Diag_Maker< RTYPE, NA, T >::n.

template<int RTYPE, bool NA, typename T >
STORAGE Rcpp::sugar::Diag_Maker< RTYPE, NA, T >::operator() ( int  i,
int  j 
) const [inline]

Reimplemented from Rcpp::MatrixBase< RTYPE, na, MATRIX >.

Definition at line 59 of file diag.h.

References i.

template<int RTYPE, bool NA, typename T >
int Rcpp::sugar::Diag_Maker< RTYPE, NA, T >::size ( ) const [inline]

Reimplemented from Rcpp::MatrixBase< RTYPE, na, MATRIX >.

Definition at line 62 of file diag.h.

References Rcpp::sugar::Diag_Maker< RTYPE, NA, T >::n.


Member Data Documentation

template<int RTYPE, bool NA, typename T >
int Rcpp::sugar::Diag_Maker< RTYPE, NA, T >::n [private]
template<int RTYPE, bool NA, typename T >
const VEC_TYPE& Rcpp::sugar::Diag_Maker< RTYPE, NA, T >::object [private]

Definition at line 67 of file diag.h.


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