Class R_F
- java.lang.Object
-
- org.hortonmachine.gears.utils.math.functions.R_F
-
- All Implemented Interfaces:
ISingleArgmentFunction
public final class R_F extends Object implements ISingleArgmentFunction
Mathematical function R_F.An equation that it is used to estimate the value of the rain time that generate the maximum discharge.
The parameters required by the functions in
setParameters(double...)are:- known the know value.
- exponent the value used as exponent.
- Author:
- Daniele Andreis
-
-
Constructor Summary
Constructors Constructor Description R_F()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetValue(double x)Return the value of the function in a specific point.voidsetParameters(double... params)Set the parameters for the particular function.
-
-
-
Method Detail
-
getValue
public double getValue(double x)
Description copied from interface:ISingleArgmentFunctionReturn the value of the function in a specific point.- Specified by:
getValuein interfaceISingleArgmentFunction- Parameters:
x- the point where evaluate the function.- Returns:
- the function value.
-
setParameters
public void setParameters(double... params)
Description copied from interface:ISingleArgmentFunctionSet the parameters for the particular function.The list and definition of the parameters are described in the class documentation of each function.
- Specified by:
setParametersin interfaceISingleArgmentFunction- Parameters:
params- the parameters to set.
-
-