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

#include <pow.h>

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

Public Types

typedef Rcpp::traits::storage_type< RTYPE >::type STORAGE
 
- Public Types inherited from Rcpp::VectorBase< REALSXP, NA, Pow< RTYPE, NA, T, EXPONENT_TYPE > >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iter_base< iter_traits > iterator
 
typedef iter_base< const_iter_traits > const_iterator
 

Public Member Functions

 Pow (const T &object_, EXPONENT_TYPE exponent)
 
double operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
- Public Member Functions inherited from Rcpp::VectorBase< REALSXP, NA, Pow< RTYPE, NA, T, EXPONENT_TYPE > >
Pow< RTYPE, NA, T, EXPONENT_TYPE > & get_ref ()
 
const Pow< RTYPE, NA, T, EXPONENT_TYPE > & get_ref () const
 
stored_type operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
const_iterator begin () const
 
const_iterator end () const
 
const_iterator cbegin () const
 
const_iterator cend () const
 

Private Attributes

const T & object
 
EXPONENT_TYPE op
 

Detailed Description

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

Definition at line 29 of file pow.h.

Member Typedef Documentation

◆ STORAGE

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

Definition at line 31 of file pow.h.

Constructor & Destructor Documentation

◆ Pow()

template<int RTYPE, bool NA, typename T , typename EXPONENT_TYPE >
Rcpp::sugar::Pow< RTYPE, NA, T, EXPONENT_TYPE >::Pow ( const T &  object_,
EXPONENT_TYPE  exponent 
)
inline

Definition at line 33 of file pow.h.

Member Function Documentation

◆ operator[]()

template<int RTYPE, bool NA, typename T , typename EXPONENT_TYPE >
double Rcpp::sugar::Pow< RTYPE, NA, T, EXPONENT_TYPE >::operator[] ( R_xlen_t  i) const
inline

Definition at line 35 of file pow.h.

References Rcpp::sugar::Pow< RTYPE, NA, T, EXPONENT_TYPE >::op, and Rcpp::pow().

Here is the call graph for this function:

◆ size()

template<int RTYPE, bool NA, typename T , typename EXPONENT_TYPE >
R_xlen_t Rcpp::sugar::Pow< RTYPE, NA, T, EXPONENT_TYPE >::size ( ) const
inline

Definition at line 38 of file pow.h.

Member Data Documentation

◆ object

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

Definition at line 41 of file pow.h.

◆ op

template<int RTYPE, bool NA, typename T , typename EXPONENT_TYPE >
EXPONENT_TYPE Rcpp::sugar::Pow< RTYPE, NA, T, EXPONENT_TYPE >::op
private

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