Rcpp Version 0.12.12
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 iterator 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
 
iterator begin () const
 
iterator end () 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

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

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

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:

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

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.

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: