|
Rcpp Version 1.1.2
|
#include <upper_tri.h>


Public Types | |
| typedef Rcpp::MatrixBase< RTYPE, NA, T > | MatBase |
| Public Types inherited from Rcpp::MatrixBase< LGLSXP, false, UpperTri< RTYPE, NA, T > > | |
| typedef traits::storage_type< RTYPE >::type | stored_type |
Public Member Functions | |
| UpperTri (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, UpperTri< RTYPE, NA, T > > | |
| UpperTri< 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(UpperTri::* | 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, UpperTri< RTYPE, NA, T > > | |
| static UpperTri< RTYPE, NA, T > | eye (int n) |
| static UpperTri< RTYPE, NA, T > | ones (int n) |
| static UpperTri< RTYPE, NA, T > | zeros (int n) |
Definition at line 30 of file upper_tri.h.
| typedef Rcpp::MatrixBase<RTYPE, NA, T> Rcpp::sugar::UpperTri< RTYPE, NA, T >::MatBase |
Definition at line 32 of file upper_tri.h.
|
private |
Definition at line 47 of file upper_tri.h.
|
inline |
Definition at line 34 of file upper_tri.h.
References Rcpp::diag(), get_diag_false(), get_diag_true(), getter, nc, ncol(), nr, nrow(), and UpperTri().
Referenced by UpperTri().

|
inlineprivate |
Definition at line 56 of file upper_tri.h.
Referenced by operator()().
|
inlineprivate |
Definition at line 54 of file upper_tri.h.
Referenced by UpperTri().
|
inlineprivate |
Definition at line 52 of file upper_tri.h.
Referenced by UpperTri().
|
inline |
|
inline |
|
inline |
Definition at line 40 of file upper_tri.h.
References get().

|
inline |
Definition at line 42 of file upper_tri.h.
|
private |
Definition at line 50 of file upper_tri.h.
Referenced by UpperTri().
|
private |
Definition at line 49 of file upper_tri.h.
Referenced by ncol(), size(), and UpperTri().
|
private |
Definition at line 49 of file upper_tri.h.
Referenced by nrow(), size(), and UpperTri().