23#ifndef Rcpp__sugar__lower_tri_h 
   24#define Rcpp__sugar__lower_tri_h 
   29template <
int RTYPE, 
bool NA, 
typename T>
 
   43    inline int nrow()
 const { 
return nr; }
 
   44    inline int ncol()
 const { 
return nc; }
 
   56    inline bool get(
int i, 
int j)
 const { 
return (this->*getter)(i, j); }
 
 
   61template <
int RTYPE, 
bool NA, 
typename T>
 
   62inline sugar::LowerTri<RTYPE, NA, T>
 
int operator()(int i, int j) const
 
LowerTri(const T &lhs, bool diag)
 
bool(LowerTri::* Method)(int, int) const
 
bool get_diag_true(int i, int j) const
 
Rcpp::MatrixBase< RTYPE, NA, T > MatBase
 
bool get_diag_false(int i, int j) const
 
bool get(int i, int j) const
 
sugar::LowerTri< RTYPE, NA, T > lower_tri(const Rcpp::MatrixBase< RTYPE, NA, T > &lhs, bool diag=false)
 
sugar::diag_result_type_trait< T >::type diag(const T &t)