Rcpp Version 0.12.14
Rcpp::stats::Q0< RTYPE, NA, T > Class Template Reference

#include <dpq.h>

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

Public Types

typedef Rcpp::VectorBase< RTYPE, NA, T > VEC_TYPE
 
typedef double(* FunPtr) (double, int, int)
 
- Public Types inherited from Rcpp::VectorBase< REALSXP, NA, Q0< RTYPE, NA, T > >
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

 Q0 (FunPtr ptr_, const VEC_TYPE &vec_, bool lower_tail=true, bool log_=false)
 
double operator[] (int i) const
 
int size () const
 
- Public Member Functions inherited from Rcpp::VectorBase< REALSXP, NA, Q0< RTYPE, NA, T > >
Q0< RTYPE, NA, T > & get_ref ()
 
const Q0< RTYPE, NA, T > & 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

FunPtr ptr
 
const VEC_TYPEvec
 
int lower
 
int log
 

Detailed Description

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

Definition at line 221 of file dpq.h.

Member Typedef Documentation

◆ FunPtr

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

Definition at line 224 of file dpq.h.

◆ VEC_TYPE

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

Definition at line 223 of file dpq.h.

Constructor & Destructor Documentation

◆ Q0()

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

Definition at line 226 of file dpq.h.

Member Function Documentation

◆ operator[]()

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

◆ size()

template<int RTYPE, bool NA, typename T >
int Rcpp::stats::Q0< RTYPE, NA, T >::size ( ) const
inline

Definition at line 234 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

◆ log

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

Definition at line 239 of file dpq.h.

◆ lower

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

Definition at line 239 of file dpq.h.

◆ ptr

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

Definition at line 237 of file dpq.h.

◆ vec

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

Definition at line 238 of file dpq.h.


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