Package org.jreliability.function
Class DensityFunction
- java.lang.Object
-
- org.jreliability.function.DensityFunction
-
public class DensityFunction extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Function
function
TheFunction
for which theDensityFunction
is to determine.
-
Constructor Summary
Constructors Constructor Description DensityFunction(Function function)
Constructs aDensityFunction
with a givenFunction
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getY(double x)
Returns they
value fory = f(x)
.
-
-
-
Field Detail
-
function
protected final Function function
TheFunction
for which theDensityFunction
is to determine.
-
-
Constructor Detail
-
DensityFunction
public DensityFunction(Function function)
Constructs aDensityFunction
with a givenFunction
.- Parameters:
function
- the function
-
-