yat
0.10.4pre
|
Replace elements with normalized rank. More...
#include </scratch/bob/jari/tmp/pristine/yat-0.10.x/yat/normalizer/Spearman.h>
Public Member Functions | |
Spearman (void) | |
default constructor | |
template<typename RandomAccessIter1 , typename RandomAccessIter2 > | |
void | operator() (RandomAccessIter1 first, RandomAccessIter1 last, RandomAccessIter2 result) const |
Replace elements with normalized rank.
Each element x is replaced by where for , for , and for .
|
inline |
It is possible to centralize a range "in place"; it is permissible for the iterators first and result to be the same.
Type Requirements: