Simple base abstract class for implementing a Function by implementing #f(double[]) to call the vector version. @author Edward Raff
| 9 | * @author Edward Raff |
| 10 | */ |
| 11 | public abstract class FunctionBase implements Function |
| 12 | { |
| 13 | |
| 14 | |
| 15 | private static final long serialVersionUID = 424945317407895409L; |
| 16 | |
| 17 | @Override |
| 18 | public double f(double... x) |
| 19 | { |
| 20 | return f(DenseVector.toDenseVec(x)); |
| 21 | } |
| 22 | |
| 23 | } |
nothing calls this directly
no outgoing calls
no test coverage detected