Package pal.math
Interface UnivariateFunction
- All Known Implementing Classes:
LineFunction
,OrthogonalLineFunction
,SequencePairLikelihood
public interface UnivariateFunction
interface for a function of one variable
- Author:
- Korbinian Strimmer
-
Method Summary
Modifier and TypeMethodDescriptiondouble
evaluate
(double argument) compute function valuedouble
get lower bound of argumentdouble
get upper bound of argument
-
Method Details
-
evaluate
double evaluate(double argument) compute function value- Parameters:
function
- argument- Returns:
- function value
-
getLowerBound
double getLowerBound()get lower bound of argument- Returns:
- lower bound
-
getUpperBound
double getUpperBound()get upper bound of argument- Returns:
- upper bound
-