* Check input */
| 75 | * Check input |
| 76 | */ |
| 77 | void checkInput(DenseVector x) const { |
| 78 | if (x.size() != numVariables) |
| 79 | throw Exception("Function::checkInput: Wrong dimension on evaluation point x."); |
| 80 | } |
| 81 | |
| 82 | /** |
| 83 | * Returns the central difference at x |
no test coverage detected