edu.rit.numeric
Interface ParameterizedFunction
-
public interface ParameterizedFunctionInterface ParameterizedFunction specifies the interface for a real-valued function of a real-valued argument, with additional parameters.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description doublef(double x, double[] p)Returns the value of this function evaluated at the given argument, using the given parameters.intparameterLength()Returns the number of parameters, M.
-
-
-
Method Detail
-
parameterLength
int parameterLength()
Returns the number of parameters, M.- Returns:
- Number of parameters.
-
f
double f(double x, double[] p)Returns the value of this function evaluated at the given argument, using the given parameters.- Parameters:
x- Argument.p- Array of M parameters.- Returns:
- f (x, parameters).
- Throws:
DomainException- (unchecked exception) Thrown if the argument x or any parameter in p is outside the allowed set of values for this function.RangeException- (unchecked exception) Thrown if the result is outside the range of type double.
-
-
DMelt 3.0 © DataMelt by jWork.ORG