Rcpp Version 0.12.12
Rcpp::sugar::Median< RTYPE, NA, T, NA_RM > Class Template Reference

#include <median.h>

Public Types

enum  { RESULT_RTYPE = median_detail::result<RTYPE>::rtype }
 
typedef median_detail::result< RTYPE >::type result_type
 
typedef Rcpp::traits::storage_type< RTYPE >::type stored_type
 
typedef T VECTOR
 

Public Member Functions

 Median (const VECTOR &xx)
 
 operator result_type ()
 

Private Attributes

VECTOR x
 

Detailed Description

template<int RTYPE, bool NA, typename T, bool NA_RM = false>
class Rcpp::sugar::Median< RTYPE, NA, T, NA_RM >

Definition at line 87 of file median.h.

Member Typedef Documentation

template<int RTYPE, bool NA, typename T , bool NA_RM = false>
typedef median_detail::result<RTYPE>::type Rcpp::sugar::Median< RTYPE, NA, T, NA_RM >::result_type

Definition at line 89 of file median.h.

template<int RTYPE, bool NA, typename T , bool NA_RM = false>
typedef Rcpp::traits::storage_type<RTYPE>::type Rcpp::sugar::Median< RTYPE, NA, T, NA_RM >::stored_type

Definition at line 90 of file median.h.

template<int RTYPE, bool NA, typename T , bool NA_RM = false>
typedef T Rcpp::sugar::Median< RTYPE, NA, T, NA_RM >::VECTOR

Definition at line 92 of file median.h.

Member Enumeration Documentation

template<int RTYPE, bool NA, typename T , bool NA_RM = false>
anonymous enum
Enumerator
RESULT_RTYPE 

Definition at line 91 of file median.h.

Constructor & Destructor Documentation

template<int RTYPE, bool NA, typename T , bool NA_RM = false>
Rcpp::sugar::Median< RTYPE, NA, T, NA_RM >::Median ( const VECTOR xx)
inline

Definition at line 98 of file median.h.

Member Function Documentation

template<int RTYPE, bool NA, typename T , bool NA_RM = false>
Rcpp::sugar::Median< RTYPE, NA, T, NA_RM >::operator result_type ( )
inline

Definition at line 101 of file median.h.

References Rcpp::any(), Rcpp::sugar::median_detail::half(), and Rcpp::is_na().

Here is the call graph for this function:

Member Data Documentation

template<int RTYPE, bool NA, typename T , bool NA_RM = false>
VECTOR Rcpp::sugar::Median< RTYPE, NA, T, NA_RM >::x
private

Definition at line 95 of file median.h.


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