Package org.drip.sequence.random
Class Bounded
java.lang.Object
org.drip.sequence.random.UnivariateSequenceGenerator
org.drip.sequence.random.Bounded
- Direct Known Subclasses:
Binary
,BoundedUniform
public abstract class Bounded extends UnivariateSequenceGenerator
Bounded implements the Bounded Random Univariate Generator with a Lower and an upper Bound.
- Module = Numerical Core Module
- Library = Statistical Learning Library
- Project = Sequence
- Package = Random
- Author:
- Lakshmi Krishnamurthy
-
Method Summary
Modifier and Type Method Description double
lowerBound()
Retrieve the Lower BoundSingleSequenceAgnosticMetrics
sequence(int iNumEntry, R1Univariate distPopulation)
Generate a Random Sequence along with its Metricsdouble
upperBound()
Retrieve the Upper BoundMethods inherited from class org.drip.sequence.random.UnivariateSequenceGenerator
random, sequence
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
lowerBound
public double lowerBound()Retrieve the Lower Bound- Returns:
- The Lower Bound
-
upperBound
public double upperBound()Retrieve the Upper Bound- Returns:
- The Upper Bound
-
sequence
Description copied from class:UnivariateSequenceGenerator
Generate a Random Sequence along with its Metrics- Overrides:
sequence
in classUnivariateSequenceGenerator
- Parameters:
iNumEntry
- Number of Entries in the SequencedistPopulation
- The True Underlying Generator Distribution of the Population- Returns:
- The Random Sequence (along with its Metrics)
-