22#ifndef Rcpp__sugar__sd_h
23#define Rcpp__sugar__sd_h
28template <
int RTYPE,
bool NA,
typename T>
29class Sd :
public Lazy< typename Rcpp::traits::storage_type<RTYPE>::type , Sd<RTYPE,NA,T> > {
37 return ::sqrt(
var(
object).
get() ) ;
45template <
bool NA,
typename T>
Rcpp::traits::storage_type< RTYPE >::type STORAGE
Rcpp::VectorBase< RTYPE, NA, T > VEC_TYPE
Sd(const VEC_TYPE &object_)
sugar::Var< REALSXP, NA, T > var(const VectorBase< REALSXP, NA, T > &t)
sugar::Sd< REALSXP, NA, T > sd(const VectorBase< REALSXP, NA, T > &t)