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

#include <sd.h>

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

Public Types

typedef Rcpp::VectorBase< RTYPE, NA, T > VEC_TYPE
 
typedef Rcpp::traits::storage_type< RTYPE >::type STORAGE
 

Public Member Functions

 Sd (const VEC_TYPE &object_)
 
STORAGE get () const
 
- Public Member Functions inherited from Rcpp::sugar::Lazy< Rcpp::traits::storage_type< RTYPE >::type, Sd< RTYPE, NA, T > >
 operator Rcpp::traits::storage_type< RTYPE >::type () const
 

Private Attributes

const VEC_TYPEobject
 

Detailed Description

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

Definition at line 29 of file sd.h.

Member Typedef Documentation

◆ STORAGE

template<int RTYPE, bool NA, typename T >
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::Sd< RTYPE, NA, T >::STORAGE

Definition at line 32 of file sd.h.

◆ VEC_TYPE

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

Definition at line 31 of file sd.h.

Constructor & Destructor Documentation

◆ Sd()

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

Definition at line 34 of file sd.h.

Member Function Documentation

◆ get()

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

Definition at line 36 of file sd.h.

References Rcpp::algorithm::sqrt(), and Rcpp::var().

Here is the call graph for this function:

Member Data Documentation

◆ object

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

Definition at line 40 of file sd.h.


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