#ifndef FUNC_SORT_H_ #define FUNC_SORT_H_ #include /** * @short Sort function * Sorts the elements of a vector in ascending order *
 * y <- sort(x[])
 * 
*/ class Sort : public Function { public: Sort (); 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_SORT_H_ */