Rcpp Version 1.0.9
Rcpp::sugar::Pow< INTSXP, false, T, EXPONENT_TYPE > Class Template Reference

#include <pow.h>

Inheritance diagram for Rcpp::sugar::Pow< INTSXP, false, T, EXPONENT_TYPE >:
Collaboration diagram for Rcpp::sugar::Pow< INTSXP, false, 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, false, Pow< INTSXP, false, T, EXPONENT_TYPE > >
Pow< INTSXP, false, T, EXPONENT_TYPE > & get_ref ()
 
const Pow< INTSXP, false, 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, false, Pow< INTSXP, false, 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<typename T, typename EXPONENT_TYPE>
class Rcpp::sugar::Pow< INTSXP, false, T, EXPONENT_TYPE >

Definition at line 61 of file pow.h.

Constructor & Destructor Documentation

◆ Pow()

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

Definition at line 63 of file pow.h.

Member Function Documentation

◆ operator[]()

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

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

Definition at line 68 of file pow.h.

Member Data Documentation

◆ object

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

Definition at line 71 of file pow.h.

◆ op

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

Definition at line 72 of file pow.h.


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