Rcpp Version 1.1.2
Loading...
Searching...
No Matches
Rcpp::sugar::Var< RTYPE, NA, T > Class Template Reference

#include <var.h>

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

Public Types

typedef Rcpp::VectorBase< RTYPE, NA, T > VEC_TYPE

Public Member Functions

 Var (const VEC_TYPE &object_)
double get () const
Public Member Functions inherited from Rcpp::sugar::Lazy< double, Var< RTYPE, NA, T > >
 operator double () const

Private Attributes

const VEC_TYPEobject

Detailed Description

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

Definition at line 30 of file var.h.

Member Typedef Documentation

◆ VEC_TYPE

template<int RTYPE, bool NA, typename T>
typedef Rcpp::VectorBase<RTYPE,NA,T> Rcpp::sugar::Var< RTYPE, NA, T >::VEC_TYPE

Definition at line 32 of file var.h.

Constructor & Destructor Documentation

◆ Var()

template<int RTYPE, bool NA, typename T>
Rcpp::sugar::Var< RTYPE, NA, T >::Var ( const VEC_TYPE & object_)
inline

Definition at line 34 of file var.h.

References object.

Member Function Documentation

◆ get()

template<int RTYPE, bool NA, typename T>
double Rcpp::sugar::Var< RTYPE, NA, T >::get ( ) const
inline

Definition at line 36 of file var.h.

References Rcpp::mean().

Here is the call graph for this function:

Member Data Documentation

◆ object

template<int RTYPE, bool NA, typename T>
const VEC_TYPE& Rcpp::sugar::Var< RTYPE, NA, T >::object
private

Definition at line 46 of file var.h.

Referenced by Var().


The documentation for this class was generated from the following file:
  • inst/include/Rcpp/sugar/functions/var.h