Rcpp Version 0.12.14
Rcpp::sugar::median_detail Namespace Reference

Classes

struct  result
 
struct  result< INTSXP >
 
struct  result< STRSXP >
 

Functions

template<typename T >
bool less (T lhs, T rhs)
 
template<>
bool less< Rcomplex > (Rcomplex lhs, Rcomplex rhs)
 
double half (double lhs)
 
double half (int lhs)
 
Rcomplex half (Rcomplex lhs)
 

Function Documentation

◆ half() [1/3]

◆ half() [2/3]

double Rcpp::sugar::median_detail::half ( int  lhs)
inline

Definition at line 73 of file median.h.

◆ half() [3/3]

Rcomplex Rcpp::sugar::median_detail::half ( Rcomplex  lhs)
inline

Definition at line 77 of file median.h.

◆ less()

template<typename T >
bool Rcpp::sugar::median_detail::less ( lhs,
rhs 
)
inline

Definition at line 55 of file median.h.

◆ less< Rcomplex >()

template<>
bool Rcpp::sugar::median_detail::less< Rcomplex > ( Rcomplex  lhs,
Rcomplex  rhs 
)
inline

Definition at line 60 of file median.h.