Package org.jreliability.function.common
Class SampledReliabilityFunction
java.lang.Object
org.jreliability.function.SequentialFunction
org.jreliability.function.common.SampledReliabilityFunction
- All Implemented Interfaces:
Function
,ReliabilityFunction
The
SampledReliabilityFunction
approximates a
ReliabilityFunction
from a set of Samples.-
Field Summary
FieldsModifier and TypeFieldDescriptionSorted list of all samples.protected final double
The x-stepsize.protected final double[]
Array from the x values (as positions) to the y values. -
Constructor Summary
ConstructorsConstructorDescriptionSampledReliabilityFunction
(Collection<Double> samples) Constructs aSampledReliabilityFunction
. -
Method Summary
Methods inherited from class org.jreliability.function.SequentialFunction
getY
-
Field Details
-
sortedSamples
Sorted list of all samples. -
yarray
protected final double[] yarrayArray from the x values (as positions) to the y values. -
step
protected final double stepThe x-stepsize.
-
-
Constructor Details
-
SampledReliabilityFunction
Constructs aSampledReliabilityFunction
.- Parameters:
samples
- the collection of samples
-
-
Method Details