Rcpp Version 0.12.12
Rcpp::stats::P3< RTYPE, NA, T > Class Template Reference

#include <dpq.h>

Inheritance diagram for Rcpp::stats::P3< RTYPE, NA, T >:
Collaboration diagram for Rcpp::stats::P3< RTYPE, NA, T >:

Public Types

typedef Rcpp::VectorBase< RTYPE, NA, T > VEC_TYPE
 
typedef double(* FunPtr) (double, double, double, double, int, int)
 
- Public Types inherited from Rcpp::VectorBase< REALSXP, NA, P3< RTYPE, NA, T > >
typedef traits::storage_type< RTYPE >::type stored_type
 
typedef traits::storage_type< RTYPE >::type elem_type
 
typedef iterator const_iterator
 

Public Member Functions

 P3 (FunPtr ptr_, const VEC_TYPE &vec_, double p0_, double p1_, double p2_, bool lower_tail=true, bool log_=false)
 
double operator[] (int i) const
 
int size () const
 
- Public Member Functions inherited from Rcpp::VectorBase< REALSXP, NA, P3< RTYPE, NA, T > >
P3< RTYPE, NA, T > & get_ref ()
 
const P3< RTYPE, NA, T > & get_ref () const
 
stored_type operator[] (R_xlen_t i) const
 
R_xlen_t size () const
 
iterator begin () const
 
iterator end () const
 

Private Attributes

FunPtr ptr
 
const VEC_TYPEvec
 
double p0
 
double p1
 
double p2
 
int lower
 
int log
 

Detailed Description

template<int RTYPE, bool NA, typename T>
class Rcpp::stats::P3< RTYPE, NA, T >

Definition at line 195 of file dpq.h.

Member Typedef Documentation

template<int RTYPE, bool NA, typename T >
typedef double(* Rcpp::stats::P3< RTYPE, NA, T >::FunPtr) (double, double, double, double, int, int)

Definition at line 198 of file dpq.h.

template<int RTYPE, bool NA, typename T >
typedef Rcpp::VectorBase<RTYPE,NA,T> Rcpp::stats::P3< RTYPE, NA, T >::VEC_TYPE

Definition at line 197 of file dpq.h.

Constructor & Destructor Documentation

template<int RTYPE, bool NA, typename T >
Rcpp::stats::P3< RTYPE, NA, T >::P3 ( FunPtr  ptr_,
const VEC_TYPE vec_,
double  p0_,
double  p1_,
double  p2_,
bool  lower_tail = true,
bool  log_ = false 
)
inline

Definition at line 200 of file dpq.h.

Member Function Documentation

template<int RTYPE, bool NA, typename T >
double Rcpp::stats::P3< RTYPE, NA, T >::operator[] ( int  i) const
inline
template<int RTYPE, bool NA, typename T >
int Rcpp::stats::P3< RTYPE, NA, T >::size ( ) const
inline

Definition at line 208 of file dpq.h.

References Rcpp::VectorBase< RTYPE, na, VECTOR >::size(), and Rcpp::stats::D0< RTYPE, NA, T >::vec.

Here is the call graph for this function:

Member Data Documentation

template<int RTYPE, bool NA, typename T >
int Rcpp::stats::P3< RTYPE, NA, T >::log
private

Definition at line 214 of file dpq.h.

template<int RTYPE, bool NA, typename T >
int Rcpp::stats::P3< RTYPE, NA, T >::lower
private

Definition at line 214 of file dpq.h.

template<int RTYPE, bool NA, typename T >
double Rcpp::stats::P3< RTYPE, NA, T >::p0
private

Definition at line 213 of file dpq.h.

template<int RTYPE, bool NA, typename T >
double Rcpp::stats::P3< RTYPE, NA, T >::p1
private

Definition at line 213 of file dpq.h.

template<int RTYPE, bool NA, typename T >
double Rcpp::stats::P3< RTYPE, NA, T >::p2
private

Definition at line 213 of file dpq.h.

template<int RTYPE, bool NA, typename T >
FunPtr Rcpp::stats::P3< RTYPE, NA, T >::ptr
private

Definition at line 211 of file dpq.h.

template<int RTYPE, bool NA, typename T >
const VEC_TYPE& Rcpp::stats::P3< RTYPE, NA, T >::vec
private

Definition at line 212 of file dpq.h.


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