| 24 | #include <ctime> |
| 25 | |
| 26 | RandFunction::RandFunction() : Function("rands") |
| 27 | { |
| 28 | addDescription(tr("Returns a vector of numbers between the given min and max values.")); |
| 29 | addParameter("min"); |
| 30 | addParameter("max"); |
| 31 | addParameter("count",tr("The quantity of random numbers to create")); |
| 32 | addParameter("seed",tr("The seed number can be optionally used to give consistent results.")); |
| 33 | } |
| 34 | |
| 35 | Value& RandFunction::evaluate(const Context& ctx) const |
| 36 | { |
nothing calls this directly
no outgoing calls
no test coverage detected