Package org.drip.measure.discrete
Class VertexRd
java.lang.Object
org.drip.measure.discrete.VertexRd
public class VertexRd
extends java.lang.Object
VertexRd holds the Rd Realizations at the Individual Vertexes.
- Module = Computational Core Module
- Library = Numerical Analysis Library
- Project = Rd Continuous/Discrete Probability Measures
- Package = Antithetic, Quadratically Re-sampled, De-biased Distribution
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description VertexRd()
Empty VertexRd Constructor -
Method Summary
Modifier and Type Method Description boolean
add(int iVertex, double[] adblRealization)
Add the Vertex Index and its corresponding Realizationdouble[][]
flatform()
Flatten out into a 2D Arraystatic VertexRd
FromFlatForm(double[][] aadblSequence)
Construct a VertexRd Instance from the R^d Sequencejava.util.List<double[]>
vertexList()
Retrieve the Vertex R^d Listdouble[]
vertexRealization(int iVertex)
Retrieve the Vertex Realization given the Vertex IndexMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
VertexRd
public VertexRd()Empty VertexRd Constructor
-
-
Method Details
-
FromFlatForm
Construct a VertexRd Instance from the R^d Sequence- Parameters:
aadblSequence
- The R^d Sequence- Returns:
- The VertexRd Instance
-
vertexList
public java.util.List<double[]> vertexList()Retrieve the Vertex R^d List- Returns:
- The Vertex R^d List
-
add
public boolean add(int iVertex, double[] adblRealization)Add the Vertex Index and its corresponding Realization- Parameters:
iVertex
- The Vertex IndexadblRealization
- The R^d Realization Array- Returns:
- TRUE - The Vertex Index/Realization successfully added
-
vertexRealization
public double[] vertexRealization(int iVertex)Retrieve the Vertex Realization given the Vertex Index- Parameters:
iVertex
- The Vertex Index- Returns:
- Array of Vertex Realizations
-
flatform
public double[][] flatform()Flatten out into a 2D Array- Returns:
- The 2D Array of the VertexRd Realizations
-