Rcpp Version 1.0.9
Rcpp::sugar::Median< RTYPE, NA, T, true > 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>
class Rcpp::sugar::Median< RTYPE, NA, T, true >

Definition at line 125 of file median.h.

Member Typedef Documentation

◆ result_type

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

Definition at line 127 of file median.h.

◆ stored_type

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

Definition at line 128 of file median.h.

◆ VECTOR

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

Definition at line 130 of file median.h.

Member Enumeration Documentation

◆ anonymous enum

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

Definition at line 129 of file median.h.

Constructor & Destructor Documentation

◆ Median()

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

Definition at line 136 of file median.h.

Member Function Documentation

◆ operator result_type()

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

Definition at line 139 of file median.h.

References Rcpp::sugar::median_detail::half(), and Rcpp::sugar::Median< RTYPE, NA, T, NA_RM >::x.

Here is the call graph for this function:

Member Data Documentation

◆ x

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

Definition at line 133 of file median.h.


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