- All Superinterfaces:
RealValuedFunctVAOps
- All Known Implementing Classes:
RealValuedFunctionThree
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface representing a real-valued function of two arguments.
This interface provides a single method associated with
a real-valued function: methods that compute a function's domain
and its derivatives are missing.
-
Method Summary
Modifier and TypeMethodDescriptiondefault intGet the maximum number of arguments allowed in calls toRealValuedFunctVAOps.valueAt(double...).default intGet the minimum number of arguments allowed in calls toRealValuedFunctVAOps.valueAt(double...).default doublevalueAt(double... args) Compute the value of a function f for the given arguments.doublevalueAt(double arg1, double arg2, double arg3) Compute the value of a function f for a given argument.
-
Method Details
-
valueAt
double valueAt(double arg1, double arg2, double arg3) throws IllegalArgumentException, UnsupportedOperationException, IllegalStateException Compute the value of a function f for a given argument.- Parameters:
arg1- the first argumentarg2- the second argumentarg3- the third argument- Returns:
- the value of the function for the specified arguments
- Throws:
IllegalArgumentException- the function's argument was out of rangeUnsupportedOperationException- the operation is not supported.IllegalStateException- the function was not fully initialized.
-
valueAt
default double valueAt(double... args) throws IllegalArgumentException, UnsupportedOperationException, IllegalStateException Description copied from interface:RealValuedFunctVAOpsCompute the value of a function f for the given arguments.- Specified by:
valueAtin interfaceRealValuedFunctVAOps- Parameters:
args- the arguments- Returns:
- the value of the function for the specified argument
- Throws:
IllegalArgumentException- the function's argument was out of rangeUnsupportedOperationException- the operation is not supported.IllegalStateException- the function was not fully initialized.
-
minArgLength
default int minArgLength()Description copied from interface:RealValuedFunctVAOpsGet the minimum number of arguments allowed in calls toRealValuedFunctVAOps.valueAt(double...).- Specified by:
minArgLengthin interfaceRealValuedFunctVAOps- Returns:
- the minimum number of arguments.
-
maxArgLength
default int maxArgLength()Description copied from interface:RealValuedFunctVAOpsGet the maximum number of arguments allowed in calls toRealValuedFunctVAOps.valueAt(double...).- Specified by:
maxArgLengthin interfaceRealValuedFunctVAOps- Returns:
- the maximum number of arguments.
-