Rcpp Version 1.0.9
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

◆ result_type

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.

◆ stored_type

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.

◆ VECTOR

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

◆ anonymous enum

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

◆ Median()

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

◆ operator result_type()

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(), Rcpp::is_na(), and Rcpp::sugar::Median< RTYPE, NA, T, NA_RM >::x.

Here is the call graph for this function:

Member Data Documentation

◆ x


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