Class R1Continuous

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

public class R1Continuous
extends R1ContinuousVector
implements R1Normed
R1Continuous implements the Normed, Bounded/Unbounded Continuous lp R1 Spaces. The Reference we've used is:

  • Carl, B., and I. Stephani (1990): Entropy, Compactness, and the Approximation of Operators Cambridge University Press Cambridge UK
It provides the following Functionality:
  • Construct the Standard lp R11 Continuous Space Instance
  • Construct the Supremum (i.e., l^Infinity) R1 Continuous Space Instance
  • R1Continuous Space Constructor

Module Computational Core Module
Library Statistical Learning Library
Project R1 and Rd Vector/Tensor Spaces (Validated and/or Normed), and Function Classes
Package Hilbert/Banach Normed Metric Spaces
Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • R1Continuous

      public R1Continuous​(double leftEdge, double rightEdge, R1Univariate r1Univariate, int pNorm) throws java.lang.Exception
      R1Continuous Space Constructor
      Parameters:
      leftEdge - The Left Edge
      rightEdge - The Right Edge
      r1Univariate - The R1 Borel Sigma Measure
      pNorm - The p-norm of the Space
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • Standard

      public static final R1Continuous Standard​(double dblLeftEdge, double dblRightEdge, R1Univariate distR1, int iPNorm)
      Construct the Standard lp R1 Continuous Space Instance
      Parameters:
      dblLeftEdge - The Left Edge
      dblRightEdge - The Right Edge
      distR1 - The R1 Borel Sigma Measure
      iPNorm - The p-norm of the Space
      Returns:
      The Standard lp R1 Continuous Space Instance
    • Supremum

      public static final R1Continuous Supremum​(double dblLeftEdge, double dblRightEdge, R1Univariate distR1)
      Construct the Supremum (i.e., lInfinity) R1 Continuous Space Instance
      Parameters:
      dblLeftEdge - The Left Edge
      dblRightEdge - The Right Edge
      distR1 - The R1 Borel Sigma Measure
      Returns:
      The Supremum (i.e., lInfinity) R1 Continuous Space Instance
    • pNorm

      public int pNorm()
      Description copied from interface: GeneralizedMetricVectorSpace
      Retrieve the P-Norm Index of the Metric Space
      Specified by:
      pNorm in interface GeneralizedMetricVectorSpace
      Returns:
      The P-Norm Index of the Metric Space
    • borelSigmaMeasure

      public R1Univariate borelSigmaMeasure()
      Description copied from interface: R1Normed
      Retrieve the Borel Sigma R1 Probability Measure
      Specified by:
      borelSigmaMeasure in interface R1Normed
      Returns:
      The Borel Sigma R1 Probability Measure
    • sampleMetricNorm

      public double sampleMetricNorm​(double x) throws java.lang.Exception
      Description copied from interface: R1Normed
      Compute the Metric Norm of the Sample
      Specified by:
      sampleMetricNorm in interface R1Normed
      Parameters:
      x - The Sample
      Returns:
      The Metric Norm of the Sample
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
    • populationMode

      public double populationMode() throws java.lang.Exception
      Description copied from interface: R1Normed
      Retrieve the Population Mode
      Specified by:
      populationMode in interface R1Normed
      Returns:
      The Population Mode
      Throws:
      java.lang.Exception - Thrown if the Population Mode cannot be calculated
    • populationMetricNorm

      public double populationMetricNorm() throws java.lang.Exception
      Description copied from interface: GeneralizedMetricVectorSpace
      Retrieve the Population Metric Norm
      Specified by:
      populationMetricNorm in interface GeneralizedMetricVectorSpace
      Returns:
      The Population Metric Norm
      Throws:
      java.lang.Exception - The Population Metric Norm cannot be computed
    • borelMeasureSpaceExpectation

      public double borelMeasureSpaceExpectation​(R1ToR1 r1ToR1Function) throws java.lang.Exception
      Description copied from interface: R1Normed
      Compute the Borel Measure Expectation for the specified R1 To R1 Function over the full Input Space
      Specified by:
      borelMeasureSpaceExpectation in interface R1Normed
      Parameters:
      r1ToR1Function - R1 To R1 Function Instance
      Returns:
      The Borel Measure Expectation for the specified R1 To R1 Function over `the full Input Space
      Throws:
      java.lang.Exception - Thrown if the Population Mode cannot be calculated