#ifndef FUNC_RANK_H_ #define FUNC_RANK_H_ #include /** * @short Sort function * Calculates the ranks of the elements of a vector in ascending order *
 * y <- sort(x[])
 * 
*/ class Rank : public Function { public: Rank (); void evaluate (SArray & value, std::vector const &args) const; bool checkParameterDim (std::vector const &args) const; Index dim (std::vector const &args) const; bool isDiscreteValued(std::vector const &flags) const; }; #endif /* FUNC_RANK_H_ */