public abstract class PolynomialFunction
extends java.lang.Object
Constructor and Description |
---|
PolynomialFunction() |
Modifier and Type | Method and Description |
---|---|
abstract double |
evaluate(double[] vars)
Evaluate the function.
|
static PolynomialFunction[] |
readFunctions(java.lang.String file)
Reads a function from a file.
|
abstract int |
variables() |
public abstract double evaluate(double[] vars)
vars
.public static PolynomialFunction[] readFunctions(java.lang.String file)
LoggedException
- if the function cannot be read.public abstract int variables()