- 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 int
Get the maximum number of arguments allowed in calls toRealValuedFunctVAOps.valueAt(double...)
.default int
Get the minimum number of arguments allowed in calls toRealValuedFunctVAOps.valueAt(double...)
.default double
valueAt
(double... args) Compute the value of a function f for the given arguments.double
valueAt
(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:RealValuedFunctVAOps
Compute the value of a function f for the given arguments.- Specified by:
valueAt
in 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:RealValuedFunctVAOps
Get the minimum number of arguments allowed in calls toRealValuedFunctVAOps.valueAt(double...)
.- Specified by:
minArgLength
in interfaceRealValuedFunctVAOps
- Returns:
- the minimum number of arguments.
-
maxArgLength
default int maxArgLength()Description copied from interface:RealValuedFunctVAOps
Get the maximum number of arguments allowed in calls toRealValuedFunctVAOps.valueAt(double...)
.- Specified by:
maxArgLength
in interfaceRealValuedFunctVAOps
- Returns:
- the maximum number of arguments.
-