MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / FunctionBase

Class FunctionBase

JSAT/src/jsat/math/FunctionBase.java:11–23  ·  view source on GitHub ↗

Simple base abstract class for implementing a Function by implementing #f(double[]) to call the vector version. @author Edward Raff

Source from the content-addressed store, hash-verified

9 * @author Edward Raff
10 */
11public 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}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected