Rcpp Version 0.12.14
Rcpp::sugar::Pow< INTSXP, NA, T, EXPONENT_TYPE > Class Template Reference

#include <pow.h>

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

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< INTSXP, NA, T, EXPONENT_TYPE > >
Pow< INTSXP, NA, T, EXPONENT_TYPE > & get_ref ()
 
const Pow< INTSXP, 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
 

Additional Inherited Members

- Public Types inherited from Rcpp::VectorBase< REALSXP, NA, Pow< INTSXP, 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
 

Detailed Description

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

Definition at line 46 of file pow.h.

Constructor & Destructor Documentation

◆ Pow()

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

Definition at line 48 of file pow.h.

Member Function Documentation

◆ operator[]()

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

Definition at line 50 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<bool NA, typename T , typename EXPONENT_TYPE >
R_xlen_t Rcpp::sugar::Pow< INTSXP, NA, T, EXPONENT_TYPE >::size ( ) const
inline

Definition at line 54 of file pow.h.

Member Data Documentation

◆ object

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

Definition at line 57 of file pow.h.

◆ op

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

Definition at line 58 of file pow.h.


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