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, waitevalpublic double eval(VectorNd in)
Diff1Function3x1FunctionNx1.inputSize().eval in interface Diff1Function3x1eval in interface Function3x1eval in interface FunctionNx1public int inputSize()
Function3x1inputSize in interface Function3x1inputSize in interface FunctionNx1public double eval(Vector3d in)
Function3x1eval in interface Function3x1public double eval(Vector3d deriv, Vector3d in)
Diff1Function3x1deriv is not
null, the derivative is also computed and returned in this
argument.eval in interface Diff1Function3x1deriv - if not null, returns the derivative valuesin - function input valuespublic double evalDerivative(Point3d in, int[] derivatives)
Diff2Function3x1evalDerivative in interface Diff2Function3x1public double evalDerivative(double x,
double y,
double z,
int dx,
int dy,
int dz)
Diff2Function3x1evalDerivative in interface Diff2Function3x1public double eval(double x,
double y,
double z)
eval in interface Function3x1