Rcpp Version 1.0.9
Rcpp::sugar::Col< RTYPE, LHS_NA, LHS_T > Class Template Reference

#include <col.h>

Inheritance diagram for Rcpp::sugar::Col< RTYPE, LHS_NA, LHS_T >:
Collaboration diagram for Rcpp::sugar::Col< RTYPE, LHS_NA, LHS_T >:

Public Types

typedef Rcpp::MatrixBase< RTYPE, LHS_NA, LHS_T > LHS_TYPE
 
- Public Types inherited from Rcpp::MatrixBase< INTSXP, false, Col< RTYPE, LHS_NA, LHS_T > >
typedef traits::storage_type< RTYPE >::type stored_type
 

Public Member Functions

 Col (const LHS_TYPE &lhs)
 
int operator() (int i, int j) const
 
R_xlen_t size () const
 
int nrow () const
 
int ncol () const
 
- Public Member Functions inherited from Rcpp::MatrixBase< INTSXP, false, Col< RTYPE, LHS_NA, LHS_T > >
Col< RTYPE, LHS_NA, LHS_T > & get_ref ()
 
stored_type operator() (int i, int j) const
 
R_xlen_t size () const
 
R_xlen_t nrow () const
 
R_xlen_t ncol () const
 
iterator begin () const
 
iterator end () const
 

Private Attributes

int nr
 
int nc
 

Additional Inherited Members

- Static Public Member Functions inherited from Rcpp::MatrixBase< INTSXP, false, Col< RTYPE, LHS_NA, LHS_T > >
static Col< RTYPE, LHS_NA, LHS_T > eye (int n)
 
static Col< RTYPE, LHS_NA, LHS_T > ones (int n)
 
static Col< RTYPE, LHS_NA, LHS_T > zeros (int n)
 

Detailed Description

template<int RTYPE, bool LHS_NA, typename LHS_T>
class Rcpp::sugar::Col< RTYPE, LHS_NA, LHS_T >

Definition at line 29 of file col.h.

Member Typedef Documentation

◆ LHS_TYPE

template<int RTYPE, bool LHS_NA, typename LHS_T >
typedef Rcpp::MatrixBase<RTYPE,LHS_NA,LHS_T> Rcpp::sugar::Col< RTYPE, LHS_NA, LHS_T >::LHS_TYPE

Definition at line 35 of file col.h.

Constructor & Destructor Documentation

◆ Col()

template<int RTYPE, bool LHS_NA, typename LHS_T >
Rcpp::sugar::Col< RTYPE, LHS_NA, LHS_T >::Col ( const LHS_TYPE lhs)
inline

Definition at line 37 of file col.h.

Member Function Documentation

◆ ncol()

template<int RTYPE, bool LHS_NA, typename LHS_T >
int Rcpp::sugar::Col< RTYPE, LHS_NA, LHS_T >::ncol ( ) const
inline

Definition at line 45 of file col.h.

References Rcpp::sugar::Col< RTYPE, LHS_NA, LHS_T >::nc.

◆ nrow()

template<int RTYPE, bool LHS_NA, typename LHS_T >
int Rcpp::sugar::Col< RTYPE, LHS_NA, LHS_T >::nrow ( ) const
inline

Definition at line 44 of file col.h.

References Rcpp::sugar::Col< RTYPE, LHS_NA, LHS_T >::nr.

◆ operator()()

template<int RTYPE, bool LHS_NA, typename LHS_T >
int Rcpp::sugar::Col< RTYPE, LHS_NA, LHS_T >::operator() ( int  i,
int  j 
) const
inline

Definition at line 39 of file col.h.

◆ size()

template<int RTYPE, bool LHS_NA, typename LHS_T >
R_xlen_t Rcpp::sugar::Col< RTYPE, LHS_NA, LHS_T >::size ( ) const
inline

Member Data Documentation

◆ nc

template<int RTYPE, bool LHS_NA, typename LHS_T >
int Rcpp::sugar::Col< RTYPE, LHS_NA, LHS_T >::nc
private

◆ nr

template<int RTYPE, bool LHS_NA, typename LHS_T >
int Rcpp::sugar::Col< RTYPE, LHS_NA, LHS_T >::nr
private

The documentation for this class was generated from the following file: