| 15 | { |
| 16 | |
| 17 | TestFunction::TestFunction(std::function<double (const std::vector<double> &)> f, |
| 18 | size_t numVariables, |
| 19 | std::string functionString) |
| 20 | : Function(numVariables), |
| 21 | functionString(functionString), |
| 22 | constDegree(false), |
| 23 | powers(DenseMatrix::Zero(0, 0)), |
| 24 | f(f) |
| 25 | { |
| 26 | } |
| 27 | |
| 28 | TestFunction::TestFunction(std::function<double (const std::vector<double> &)> f, size_t numVariables, |
| 29 | std::string functionString, DenseMatrix powers) |
nothing calls this directly
no outgoing calls
no test coverage detected