edu.rit.numeric
Interface MDFunction
-
public interface MDFunctionInterface MDFunction specifies the interface for a function whose argument is a vector of real values and whose result is a real value; a multidimensional function.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description intargumentLength()Returns the length of the argument vector, N.doublef(double[] x)Evaluate this function with the given argument vector.
-
-
-
Method Detail
-
argumentLength
int argumentLength()
Returns the length of the argument vector, N.- Returns:
- N.
-
f
double f(double[] x)
Evaluate this function with the given argument vector.- Parameters:
x- Argument vector. Must be an N-element array.- Returns:
- Function value at x.
- Throws:
DomainException- (unchecked exception) Thrown if any argument in x is outside the allowed set of values for this function.RangeException- (unchecked exception) Thrown if the function value is outside the range of type double.
-
-
DMelt 3.0 © DataMelt by jWork.ORG