Rcpp Version 0.12.12
Rcpp::sugar::Median< RTYPE, false, 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, typename T, bool NA_RM>
class Rcpp::sugar::Median< RTYPE, false, T, NA_RM >

Definition at line 159 of file median.h.

Member Typedef Documentation

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

Definition at line 161 of file median.h.

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

Definition at line 162 of file median.h.

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

Definition at line 164 of file median.h.

Member Enumeration Documentation

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

Definition at line 163 of file median.h.

Constructor & Destructor Documentation

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

Definition at line 170 of file median.h.

Member Function Documentation

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

Definition at line 173 of file median.h.

References Rcpp::sugar::median_detail::half().

Here is the call graph for this function:

Member Data Documentation

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

Definition at line 167 of file median.h.


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