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