Class MetaRd

java.lang.Object
org.drip.measure.continuous.MetaRd

public class MetaRd
extends java.lang.Object
MetaRd holds a Group of Variable Names - each of which separately is a Valid Single R1/Rd Variable. It provides the following Functionality:
  • MetaRd Constructor
  • Retrieve the Number of Variate
  • Retrieve the Array of the Variate Names
  • Retrieve the Index of the Named Variate

Module Computational Core Module
Library Numerical Analysis Library
Project Rd Continuous/Discrete Probability Measures
Package R1 and Rd Continuous Random Measure

Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    MetaRd​(java.lang.String[] nameArray)
    MetaRd Constructor
  • Method Summary

    Modifier and Type Method Description
    java.lang.String[] names()
    Retrieve the Array of the Variate Names
    int numVariable()
    Retrieve the Number of Variate
    int variateIndex​(java.lang.String variateName)
    Retrieve the Index of the Named Variate

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MetaRd

      public MetaRd​(java.lang.String[] nameArray) throws java.lang.Exception
      MetaRd Constructor
      Parameters:
      nameArray - Array of the Variate Names
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • numVariable

      public int numVariable()
      Retrieve the Number of Variate
      Returns:
      The Number of Variate
    • names

      public java.lang.String[] names()
      Retrieve the Array of the Variate Names
      Returns:
      The Array of the Variate Names
    • variateIndex

      public int variateIndex​(java.lang.String variateName)
      Retrieve the Index of the Named Variate
      Parameters:
      variateName - The Named Variate
      Returns:
      Index of the Named Variate