Package org.drip.measure.discontinuous
Class VertexRd
java.lang.Object
org.drip.measure.discontinuous.VertexRd
public class VertexRd
extends java.lang.Object
VertexRd holds the Rd Realizations at the Individual Vertexes. It provides the following
Functionality:
- Construct a VertexRd Instance from the Rd Sequence
- Empty VertexRd Constructor
- Retrieve the Vertex Rd List
- Add the Vertex Index and its corresponding Realization
- Retrieve the Vertex Realization given the Vertex Index
- Flatten out into a 2D Array
| 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 booleanadd(int vertexIndex, double[] realizationArray)Add the Vertex Index and its corresponding Realizationdouble[][]flatform()Flatten out into a 2D Arraystatic VertexRdFromFlatForm(double[][] sequenceArray)Construct a VertexRd Instance from the Rd Sequencedouble[]indexRealization(int vertexIndex)Retrieve the Vertex Realization given the Vertex Indexjava.util.List<double[]>nodeList()Retrieve the Vertex Rd ListMethods 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 Rd Sequence- Parameters:
sequenceArray- The Rd Sequence Array- Returns:
- The VertexRd Instance
-
nodeList
public java.util.List<double[]> nodeList()Retrieve the Vertex Rd List- Returns:
- The Vertex Rd List
-
add
public boolean add(int vertexIndex, double[] realizationArray)Add the Vertex Index and its corresponding Realization- Parameters:
vertexIndex- The Vertex IndexrealizationArray- The Rd Realization Array- Returns:
- TRUE - The Vertex Index/Realization successfully added
-
indexRealization
public double[] indexRealization(int vertexIndex)Retrieve the Vertex Realization given the Vertex Index- Parameters:
vertexIndex- 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
-