Rcpp Version 1.0.9
Rcpp::algorithm Namespace Reference

Namespaces

 helpers
 

Functions

template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value, typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type >::type sum (InputIterator begin, InputIterator end)
 
template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value, typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type >::type sum_nona (InputIterator begin, InputIterator end)
 
template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value, typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type >::type prod (InputIterator begin, InputIterator end)
 
template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value, typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type >::type prod_nona (InputIterator begin, InputIterator end)
 
template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value, typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type >::type max (InputIterator begin, InputIterator end)
 
template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value, typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type >::type max_nona (InputIterator begin, InputIterator end)
 
template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value, typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type >::type min (InputIterator begin, InputIterator end)
 
template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value, typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type >::type min_nona (InputIterator begin, InputIterator end)
 
template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value &&traits::same_type< typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type, double >::value, double >::type mean (InputIterator begin, InputIterator end)
 
template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value &&traits::same_type< typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type, int >::value, double >::type mean (InputIterator begin, InputIterator end)
 
template<typename InputIterator , typename OutputIterator >
void log (InputIterator begin, InputIterator end, OutputIterator out)
 
template<typename InputIterator , typename OutputIterator >
void exp (InputIterator begin, InputIterator end, OutputIterator out)
 
template<typename InputIterator , typename OutputIterator >
void sqrt (InputIterator begin, InputIterator end, OutputIterator out)
 

Function Documentation

◆ exp()

◆ log()

◆ max()

template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value, typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type >::type Rcpp::algorithm::max ( InputIterator  begin,
InputIterator  end 
)

◆ max_nona()

template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value, typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type >::type Rcpp::algorithm::max_nona ( InputIterator  begin,
InputIterator  end 
)

Definition at line 349 of file algorithm.h.

References max().

Here is the call graph for this function:

◆ mean() [1/2]

template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value && traits::same_type< typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type, double >::value, double >::type Rcpp::algorithm::mean ( InputIterator  begin,
InputIterator  end 
)

Definition at line 417 of file algorithm.h.

References Rcpp::algorithm::helpers::rtype< T >::NA().

Here is the call graph for this function:

◆ mean() [2/2]

template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value && traits::same_type< typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type, int >::value, double >::type Rcpp::algorithm::mean ( InputIterator  begin,
InputIterator  end 
)

Definition at line 444 of file algorithm.h.

References Rcpp::algorithm::helpers::rtype< T >::NA().

Here is the call graph for this function:

◆ min()

template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value, typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type >::type Rcpp::algorithm::min ( InputIterator  begin,
InputIterator  end 
)

◆ min_nona()

template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value, typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type >::type Rcpp::algorithm::min_nona ( InputIterator  begin,
InputIterator  end 
)

Definition at line 395 of file algorithm.h.

References min().

Here is the call graph for this function:

◆ prod()

template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value, typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type >::type Rcpp::algorithm::prod ( InputIterator  begin,
InputIterator  end 
)

Definition at line 278 of file algorithm.h.

References Rcpp::NA.

◆ prod_nona()

template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value, typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type >::type Rcpp::algorithm::prod_nona ( InputIterator  begin,
InputIterator  end 
)

Definition at line 303 of file algorithm.h.

◆ sqrt()

template<typename InputIterator , typename OutputIterator >
void Rcpp::algorithm::sqrt ( InputIterator  begin,
InputIterator  end,
OutputIterator  out 
)

◆ sum()

template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value, typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type >::type Rcpp::algorithm::sum ( InputIterator  begin,
InputIterator  end 
)

Definition at line 232 of file algorithm.h.

References Rcpp::NA.

◆ sum_nona()

template<typename InputIterator >
traits::enable_if< helpers::decays_to_ctype< typename std::iterator_traits< InputIterator >::value_type >::value, typename helpers::ctype< typename std::iterator_traits< InputIterator >::value_type >::type >::type Rcpp::algorithm::sum_nona ( InputIterator  begin,
InputIterator  end 
)

Definition at line 257 of file algorithm.h.