Package org.jreliability.function
Class DensityFunction
java.lang.Object
org.jreliability.function.DensityFunction
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Function
TheFunction
for which theDensityFunction
is to determine. -
Constructor Summary
ConstructorsConstructorDescriptionDensityFunction
(Function function) Constructs aDensityFunction
with a givenFunction
. -
Method Summary
-
Field Details
-
function
TheFunction
for which theDensityFunction
is to determine.
-
-
Constructor Details
-
DensityFunction
Constructs aDensityFunction
with a givenFunction
.- Parameters:
function
- the function
-
-
Method Details
-
getY
public double getY(double x) Returns they
value fory = f(x)
.- Parameters:
x
- the x value- Returns:
- the y for y = f(x)
-