public class PolynomialBasisFunction extends java.lang.Object implements DifferentiableFunction3x1
Constructor and Description |
---|
PolynomialBasisFunction(int xn,
int yn,
int zn) |
Modifier and Type | Method and Description |
---|---|
double |
eval(double[] in)
Evaluates this function for the specified inputs.
|
double |
eval(double x,
double y,
double z) |
double |
eval(Point3d in) |
double |
evalDerivative(double x,
double y,
double z,
int dx,
int dy,
int dz) |
double |
evalDerivative(Point3d in,
int[] derivatives) |
int |
getInputSize()
Queries the number of inputs expected by this function.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
eval
public double eval(double[] in)
MISOFunction
eval
in interface MISOFunction
in
- function inputs. Should have a length >=
MISOFunction.getInputSize()
.public int getInputSize()
MISOFunction
getInputSize
in interface MISOFunction
public double eval(Point3d in)
eval
in interface DifferentiableFunction3x1
eval
in interface Function3x1
public double evalDerivative(Point3d in, int[] derivatives)
evalDerivative
in interface DifferentiableFunction3x1
public double evalDerivative(double x, double y, double z, int dx, int dy, int dz)
evalDerivative
in interface DifferentiableFunction3x1
public double eval(double x, double y, double z)
eval
in interface DifferentiableFunction3x1
eval
in interface Function3x1