|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Computable
The core interface of this package. Provides the
compute(double[], double[]) method that takes in a double
array and returns a double array.
| Method Summary | |
|---|---|
void |
compute(double[][] x,
double[][] y)
Computes the outputs corresponding to the given set of inputs and stores the results in the given array, which cannot be null. |
void |
compute(double[] x,
double[] y)
Computes the outputs corresponding to the given input, and stores the result in the supplied array. |
Hypercube |
getBounds()
Returns a Hypercube specifying the domain of this
Computable. |
int |
getInputDimension()
Returns the number of dimensions accepted by this Computable. |
int |
getOutputDimension()
Returns the output dimension for this Computable. |
boolean |
isWithinBounds(double[] x)
Returns true if the given point is within bounds. |
| Method Detail |
|---|
void compute(double[] x,
double[] y)
x - the given input.y - array to hold the result.
void compute(double[][] x,
double[][] y)
null.
x - the given inputs.y - array to hold the result.Hypercube getBounds()
Hypercube specifying the domain of this
Computable.
ScalarFunction.int getInputDimension()
Computable.
int getOutputDimension()
Computable.
boolean isWithinBounds(double[] x)
true if the given point is within bounds.
x - the given point.
true if within bounds.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||