Package org.arakhne.afc.math.stochastic
Interface MathFunction
-
- All Known Subinterfaces:
MathInversableFunction
- All Known Implementing Classes:
BernoulliStochasticLaw,CauchyStochasticLaw,ConstantStochasticLaw,ExponentialStochasticLaw,GaussianStochasticLaw,LinearStochasticLaw,LogisticStochasticLaw,LogNormalStochasticLaw,ParetoStochasticLaw,StochasticLaw,TriangularStochasticLaw,UniformStochasticLaw
public interface MathFunctionDefine a mathematic function.- Since:
- 13.0
- Version:
- 17.0 2020-01-04 14:41:41
- Author:
- Stéphane GALLAND
- Maven Group Id:
- org.arakhne.afc.core
- Maven Artifact Id:
- mathstochastic
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description doublef(double x)Replies the value of the function.MathFunctionRange[]getRange()Replies the range of the function.
-
-
-
Method Detail
-
f
@Pure double f(double x) throws MathException
Replies the value of the function.- Parameters:
x- the x.- Returns:
- the value of
f(x). - Throws:
MathException- in casef(x)could not be computed
-
getRange
@Pure MathFunctionRange[] getRange()
Replies the range of the function.- Returns:
- a array of ranges. It corresponds to a list of couples that defined the set of valid values.
-
-