public class PolynomialBasisFunction extends java.lang.Object implements Diff2Function3x1
Constructor and Description |
---|
PolynomialBasisFunction(int xn,
int yn,
int zn) |
Modifier and Type | Method and Description |
---|---|
double |
eval(double x,
double y,
double z) |
double |
eval(Vector3d in)
Evaluates this function for the specified inputs.
|
double |
eval(Vector3d deriv,
Vector3d in)
Evaluates this function for the specified inputs.
|
double |
eval(VectorNd in)
Evaluates this function for the specified inputs.
|
double |
evalDerivative(double x,
double y,
double z,
int dx,
int dy,
int dz)
Evaluates 1st and 2nd order derivatives, one at a time.
|
double |
evalDerivative(Point3d in,
int[] derivatives)
Evaluates 1st and 2nd order derivatives, one at a time.
|
int |
inputSize()
Queries the number of inputs expected by this function.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
eval
public double eval(VectorNd in)
Diff1Function3x1
FunctionNx1.inputSize()
.eval
in interface Diff1Function3x1
eval
in interface Function3x1
eval
in interface FunctionNx1
public int inputSize()
Function3x1
inputSize
in interface Function3x1
inputSize
in interface FunctionNx1
public double eval(Vector3d in)
Function3x1
eval
in interface Function3x1
public double eval(Vector3d deriv, Vector3d in)
Diff1Function3x1
deriv
is not
null
, the derivative is also computed and returned in this
argument.eval
in interface Diff1Function3x1
deriv
- if not null
, returns the derivative valuesin
- function input valuespublic double evalDerivative(Point3d in, int[] derivatives)
Diff2Function3x1
evalDerivative
in interface Diff2Function3x1
public double evalDerivative(double x, double y, double z, int dx, int dy, int dz)
Diff2Function3x1
evalDerivative
in interface Diff2Function3x1
public double eval(double x, double y, double z)
eval
in interface Function3x1