MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / LowerTri

Method LowerTri

inst/include/Rcpp/sugar/matrix/lower_tri.h:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32 typedef Rcpp::MatrixBase<RTYPE, NA, T> MatBase;
33
34 LowerTri(const T& lhs, bool diag)
35 : nr(lhs.nrow()),
36 nc(lhs.ncol()),
37 getter(diag ? (&LowerTri::get_diag_true) : (&LowerTri::get_diag_false))
38 {}
39
40 inline int operator()(int i, int j) const { return get(i, j); }
41

Callers

nothing calls this directly

Calls 2

nrowMethod · 0.45
ncolMethod · 0.45

Tested by

no test coverage detected