yat  0.10.4pre
Public Member Functions
theplu::yat::statistics::Nth_Element Class Reference

#include </scratch/bob/jari/tmp/pristine/yat-0.10.x/yat/statistics/VectorFunction.h>

Inheritance diagram for theplu::yat::statistics::Nth_Element:
theplu::yat::statistics::VectorFunction

List of all members.

Public Member Functions

 Nth_Element (size_t N)
double operator() (const std::vector< double > &) const

Detailed Description

Functor that picks Nth smalles element in a vector.


Constructor & Destructor Documentation

theplu::yat::statistics::Nth_Element::Nth_Element ( size_t  N)
Parameters:
Nequal to 1 gives identical object as Min (but less efficient)

Member Function Documentation

double theplu::yat::statistics::Nth_Element::operator() ( const std::vector< double > &  ) const
virtual
Returns:
Nth smallest element

Implements theplu::yat::statistics::VectorFunction.


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

Generated on Mon Nov 11 2013 09:41:45 for yat by  doxygen 1.8.1