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 doublelowerBound()Retrieve the Lower BoundSingleSequenceAgnosticMetricssequence(int iNumEntry, R1Univariate distPopulation)Generate a Random Sequence along with its MetricsdoubleupperBound()Retrieve the Upper BoundMethods inherited from class org.drip.sequence.random.UnivariateSequenceGenerator
random, sequenceMethods 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:UnivariateSequenceGeneratorGenerate a Random Sequence along with its Metrics- Overrides:
sequencein 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)
-