Rcpp Version 1.0.9
Rcpp::sugar::LowerTri< RTYPE, NA, T > Class Template Reference

#include <lower_tri.h>

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

Public Types

typedef Rcpp::MatrixBase< RTYPE, NA, T > MatBase
 
- Public Types inherited from Rcpp::MatrixBase< LGLSXP, false, LowerTri< RTYPE, NA, T > >
typedef traits::storage_type< RTYPE >::type stored_type
 

Public Member Functions

 LowerTri (const T &lhs, bool diag)
 
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< LGLSXP, false, LowerTri< RTYPE, NA, T > >
LowerTri< RTYPE, NA, 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 Types

typedef bool(LowerTri::* Method) (int, int) const
 

Private Member Functions

bool get_diag_true (int i, int j) const
 
bool get_diag_false (int i, int j) const
 
bool get (int i, int j) const
 

Private Attributes

int nr
 
int nc
 
Method getter
 

Additional Inherited Members

- Static Public Member Functions inherited from Rcpp::MatrixBase< LGLSXP, false, LowerTri< RTYPE, NA, T > >
static LowerTri< RTYPE, NA, T > eye (int n)
 
static LowerTri< RTYPE, NA, T > ones (int n)
 
static LowerTri< RTYPE, NA, T > zeros (int n)
 

Detailed Description

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

Definition at line 30 of file lower_tri.h.

Member Typedef Documentation

◆ MatBase

template<int RTYPE, bool NA, typename T >
typedef Rcpp::MatrixBase<RTYPE, NA, T> Rcpp::sugar::LowerTri< RTYPE, NA, T >::MatBase

Definition at line 32 of file lower_tri.h.

◆ Method

template<int RTYPE, bool NA, typename T >
typedef bool(LowerTri::* Rcpp::sugar::LowerTri< RTYPE, NA, T >::Method) (int, int) const
private

Definition at line 47 of file lower_tri.h.

Constructor & Destructor Documentation

◆ LowerTri()

template<int RTYPE, bool NA, typename T >
Rcpp::sugar::LowerTri< RTYPE, NA, T >::LowerTri ( const T &  lhs,
bool  diag 
)
inline

Definition at line 34 of file lower_tri.h.

Member Function Documentation

◆ get()

template<int RTYPE, bool NA, typename T >
bool Rcpp::sugar::LowerTri< RTYPE, NA, T >::get ( int  i,
int  j 
) const
inlineprivate

Definition at line 56 of file lower_tri.h.

Referenced by Rcpp::sugar::LowerTri< RTYPE, NA, T >::operator()().

◆ get_diag_false()

template<int RTYPE, bool NA, typename T >
bool Rcpp::sugar::LowerTri< RTYPE, NA, T >::get_diag_false ( int  i,
int  j 
) const
inlineprivate

Definition at line 54 of file lower_tri.h.

◆ get_diag_true()

template<int RTYPE, bool NA, typename T >
bool Rcpp::sugar::LowerTri< RTYPE, NA, T >::get_diag_true ( int  i,
int  j 
) const
inlineprivate

Definition at line 52 of file lower_tri.h.

◆ ncol()

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

Definition at line 44 of file lower_tri.h.

References Rcpp::sugar::LowerTri< RTYPE, NA, T >::nc.

◆ nrow()

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

Definition at line 43 of file lower_tri.h.

References Rcpp::sugar::LowerTri< RTYPE, NA, T >::nr.

◆ operator()()

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

Definition at line 40 of file lower_tri.h.

References Rcpp::sugar::LowerTri< RTYPE, NA, T >::get().

Here is the call graph for this function:

◆ size()

template<int RTYPE, bool NA, typename T >
R_xlen_t Rcpp::sugar::LowerTri< RTYPE, NA, T >::size ( ) const
inline

Member Data Documentation

◆ getter

template<int RTYPE, bool NA, typename T >
Method Rcpp::sugar::LowerTri< RTYPE, NA, T >::getter
private

Definition at line 50 of file lower_tri.h.

◆ nc

template<int RTYPE, bool NA, typename T >
int Rcpp::sugar::LowerTri< RTYPE, NA, T >::nc
private

◆ nr

template<int RTYPE, bool NA, typename T >
int Rcpp::sugar::LowerTri< RTYPE, NA, T >::nr
private

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