Class R1ContinuousVector

java.lang.Object
org.drip.spaces.tensor.R1ContinuousVector
All Implemented Interfaces:
GeneralizedVector, R1GeneralizedVector
Direct Known Subclasses:
R1Continuous

public class R1ContinuousVector
extends java.lang.Object
implements R1GeneralizedVector
R1ContinuousVector exposes the Normed/non-normed, Bounded/Unbounded Continuous R1 Vector Spaces with Real-valued Elements.



The Reference we've used is: - Carl, B., and I. Stephani (1990): Entropy, Compactness, and Approximation of Operators, Cambridge University Press, Cambridge UK.
Author:
Lakshmi Krishnamurthy
  • Constructor Summary

    Constructors
    Constructor Description
    R1ContinuousVector​(double dblLeftEdge, double dblRightEdge)
    R1ContinuousVector Constructor
  • Method Summary

    Modifier and Type Method Description
    Cardinality cardinality()
    Retrieve the Cardinality of the Vector Space
    double hyperVolume()
    Retrieve the "Hyper" Volume of the Vector Space
    boolean isPredictorBounded()
    Indicate if the Predictor Variate Space is bounded from the Left and the Right
    double leftEdge()
    Retrieve the Left Edge
    boolean match​(GeneralizedVector gvOther)
    Compare against the "Other" Generalized Vector Space
    double rightEdge()
    Retrieve the Right Edge
    static R1ContinuousVector Standard()
    Create the Standard R^1 Continuous Vector Space
    boolean subset​(GeneralizedVector gvOther)
    Indicate if the "Other" Generalized Vector Space is a Subset of "this"
    boolean validateInstance​(double dblInstance)
    Validate the Input Instance Ordinate

    Methods inherited from class java.lang.Object

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

    • R1ContinuousVector

      public R1ContinuousVector​(double dblLeftEdge, double dblRightEdge) throws java.lang.Exception
      R1ContinuousVector Constructor
      Parameters:
      dblLeftEdge - The Left Edge
      dblRightEdge - The Right Edge
      Throws:
      java.lang.Exception - Thrown if the Inputs are invalid
  • Method Details

    • Standard

      public static final R1ContinuousVector Standard()
      Create the Standard R^1 Continuous Vector Space
      Returns:
      The Standard R^1 Continuous Vector Space
    • leftEdge

      public double leftEdge()
      Description copied from interface: GeneralizedVector
      Retrieve the Left Edge
      Specified by:
      leftEdge in interface GeneralizedVector
      Returns:
      The Left Edge
    • rightEdge

      public double rightEdge()
      Description copied from interface: GeneralizedVector
      Retrieve the Right Edge
      Specified by:
      rightEdge in interface GeneralizedVector
      Returns:
      The Right Edge
    • validateInstance

      public boolean validateInstance​(double dblInstance)
      Description copied from interface: R1GeneralizedVector
      Validate the Input Instance Ordinate
      Specified by:
      validateInstance in interface R1GeneralizedVector
      Parameters:
      dblInstance - The Input Instance Ordinate
      Returns:
      TRUE - Instance Ordinate is a Valid Entry in the Space
    • cardinality

      public Cardinality cardinality()
      Description copied from interface: GeneralizedVector
      Retrieve the Cardinality of the Vector Space
      Specified by:
      cardinality in interface GeneralizedVector
      Returns:
      Cardinality of the Vector Space
    • match

      public boolean match​(GeneralizedVector gvOther)
      Description copied from interface: GeneralizedVector
      Compare against the "Other" Generalized Vector Space
      Specified by:
      match in interface GeneralizedVector
      Parameters:
      gvOther - The "Other" Generalized Vector Space
      Returns:
      TRUE - The "Other" Generalized Vector Space matches this
    • subset

      public boolean subset​(GeneralizedVector gvOther)
      Description copied from interface: GeneralizedVector
      Indicate if the "Other" Generalized Vector Space is a Subset of "this"
      Specified by:
      subset in interface GeneralizedVector
      Parameters:
      gvOther - The "Other" Generalized Vector Space
      Returns:
      TRUE - The "Other" Generalized Vector Space is a Subset of this
    • isPredictorBounded

      public boolean isPredictorBounded()
      Description copied from interface: GeneralizedVector
      Indicate if the Predictor Variate Space is bounded from the Left and the Right
      Specified by:
      isPredictorBounded in interface GeneralizedVector
      Returns:
      The Predictor Variate Space is bounded from the Left and the Right
    • hyperVolume

      public double hyperVolume() throws java.lang.Exception
      Description copied from interface: GeneralizedVector
      Retrieve the "Hyper" Volume of the Vector Space
      Specified by:
      hyperVolume in interface GeneralizedVector
      Returns:
      The "Hyper" Volume of the Vector Space
      Throws:
      java.lang.Exception - Thrown if the Hyper Volume cannot be computed