OpenMS
Loading...
Searching...
No Matches
RankData.h File Reference
#include <vector>
#include <algorithm>
#include <cmath>
#include <limits>
#include <stdexcept>
#include <type_traits>
Include dependency graph for RankData.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  RankData
 Rank items (1-based) with SciPy-like tie handling. More...
 

Namespaces

namespace  OpenMS
 Main OpenMS namespace.
 
namespace  OpenMS::Math
 Math namespace.
 

Functions

std::vector< double > rankdata_double (std::vector< double > a, RankData::Method m=RankData::Method::Average, RankData::NaNPolicy p=RankData::NaNPolicy::Propagate)
 Free function overloads (by-value) for double input.
 
std::vector< double > rankdata_float (std::vector< float > a, RankData::Method m=RankData::Method::Average, RankData::NaNPolicy p=RankData::NaNPolicy::Propagate)
 Free function overloads (by-value) for float input.
 
std::vector< double > rankdata_int (std::vector< int > a, RankData::Method m=RankData::Method::Average, RankData::NaNPolicy p=RankData::NaNPolicy::Propagate)
 Free function overloads (by-value) for int input.