Package org.drip.spaces.metric
Class RdContinuousBanach
java.lang.Object
org.drip.spaces.tensor.RdAggregate
org.drip.spaces.tensor.RdContinuousVector
org.drip.spaces.metric.RdContinuousBanach
- All Implemented Interfaces:
GeneralizedMetricVectorSpace
,RdNormed
,GeneralizedVector
,RdGeneralizedVector
- Direct Known Subclasses:
RdContinuousBall
,RdContinuousHilbert
public class RdContinuousBanach extends RdContinuousVector implements RdNormed
RdContinuousBanach implements the Normed, Bounded/Unbounded Continuous lp Rd
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
- Construct the Standard lp Rd Continuous Banach Space Instance
- Construct the Supremum (i.e., lInfinity) Rd Continuous Banach Space Instance
- RdContinuousBanach Space Constructor
- Author:
- Lakshmi Krishnamurthy
-
Field Summary
Fields inherited from interface org.drip.spaces.metric.GeneralizedMetricVectorSpace
EUCLIDEAN_NORM, L2_NORM, LINFINITITY_NORM
-
Constructor Summary
Constructors Constructor Description RdContinuousBanach(R1ContinuousVector[] r1ContinuousVectorArray, Rd rdDistribution, int pNorm)
RdContinuousBanach Space Constructor -
Method Summary
Modifier and Type Method Description double
borelMeasureSpaceExpectation(RdToR1 rdToR1Function)
Compute the Borel Measure Expectation for the specified Rd To R1 Function over the full Input SpaceRd
borelSigmaMeasure()
Retrieve the Borel Sigma Rd Probability Measureint
pNorm()
Retrieve the P-Norm Index of the Metric Spacedouble
populationMetricNorm()
Retrieve the Population Metric Normdouble[]
populationMode()
Retrieve the Population Modedouble
populationSupremumNorm()
Compute the Population Supremum Norm of the Sampledouble
sampleMetricNorm(double[] xArray)
Compute the Metric Norm of the Sampledouble
sampleSupremumNorm(double[] xArray)
Compute the Supremum Norm of the Samplestatic RdContinuousBanach
StandardBanach(int iDimension, Rd distRd, int iPNorm)
Construct the Standard lp Rd Continuous Banach Space Instancestatic RdContinuousBanach
SupremumBanach(int iDimension, Rd distRd)
Construct the Supremum (i.e., lInfinity) Rd Continuous Banach Space InstanceMethods inherited from class org.drip.spaces.tensor.RdContinuousVector
cardinality, hyperVolume, leftDimensionEdge, leftEdge, rightDimensionEdge, rightEdge, Standard
Methods inherited from class org.drip.spaces.tensor.RdAggregate
dimension, isPredictorBounded, match, subset, validateInstance, vectorSpaces
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.drip.spaces.tensor.GeneralizedVector
cardinality, hyperVolume, isPredictorBounded, leftEdge, match, rightEdge, subset
Methods inherited from interface org.drip.spaces.tensor.RdGeneralizedVector
dimension, leftDimensionEdge, rightDimensionEdge, validateInstance, vectorSpaces
-
Constructor Details
-
RdContinuousBanach
public RdContinuousBanach(R1ContinuousVector[] r1ContinuousVectorArray, Rd rdDistribution, int pNorm) throws java.lang.ExceptionRdContinuousBanach Space Constructor- Parameters:
r1ContinuousVectorArray
- Array of R1 Continuous VectorrdDistribution
- The Rd Borel Sigma MeasurepNorm
- The p-norm of the Space- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
StandardBanach
Construct the Standard lp Rd Continuous Banach Space Instance- Parameters:
iDimension
- The Space DimensiondistRd
- The Rd Borel Sigma MeasureiPNorm
- The p-norm of the Space- Returns:
- The Standard lp Rd Continuous Banach Space Instance
-
SupremumBanach
Construct the Supremum (i.e., lInfinity) Rd Continuous Banach Space Instance- Parameters:
iDimension
- The Space DimensiondistRd
- The Rd Borel Sigma Measure- Returns:
- The Supremum (i.e., lInfinity) Rd Continuous Banach Space Instance
-
pNorm
public int pNorm()Description copied from interface:GeneralizedMetricVectorSpace
Retrieve the P-Norm Index of the Metric Space- Specified by:
pNorm
in interfaceGeneralizedMetricVectorSpace
- Returns:
- The P-Norm Index of the Metric Space
-
borelSigmaMeasure
Description copied from interface:RdNormed
Retrieve the Borel Sigma Rd Probability Measure- Specified by:
borelSigmaMeasure
in interfaceRdNormed
- Returns:
- The Borel Sigma Rd Probability Measure
-
sampleSupremumNorm
public double sampleSupremumNorm(double[] xArray) throws java.lang.ExceptionDescription copied from interface:RdNormed
Compute the Supremum Norm of the Sample- Specified by:
sampleSupremumNorm
in interfaceRdNormed
- Parameters:
xArray
- The Sample- Returns:
- The Supremum Norm of the Sample
- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
sampleMetricNorm
public double sampleMetricNorm(double[] xArray) throws java.lang.ExceptionDescription copied from interface:RdNormed
Compute the Metric Norm of the Sample- Specified by:
sampleMetricNorm
in interfaceRdNormed
- Parameters:
xArray
- The Sample- Returns:
- The Metric Norm of the Sample
- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
populationMode
public double[] populationMode()Description copied from interface:RdNormed
Retrieve the Population Mode- Specified by:
populationMode
in interfaceRdNormed
- Returns:
- The Population Mode
-
populationSupremumNorm
public double populationSupremumNorm() throws java.lang.ExceptionDescription copied from interface:RdNormed
Compute the Population Supremum Norm of the Sample- Specified by:
populationSupremumNorm
in interfaceRdNormed
- Returns:
- The Population Supremum Norm of the Sample
- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
populationMetricNorm
public double populationMetricNorm() throws java.lang.ExceptionDescription copied from interface:GeneralizedMetricVectorSpace
Retrieve the Population Metric Norm- Specified by:
populationMetricNorm
in interfaceGeneralizedMetricVectorSpace
- Returns:
- The Population Metric Norm
- Throws:
java.lang.Exception
- The Population Metric Norm cannot be computed
-
borelMeasureSpaceExpectation
Description copied from interface:RdNormed
Compute the Borel Measure Expectation for the specified Rd To R1 Function over the full Input Space- Specified by:
borelMeasureSpaceExpectation
in interfaceRdNormed
- Parameters:
rdToR1Function
- Rd To R1 Function- Returns:
- The Borel Measure Expectation for the specified Rd To R1 Function over the full Input Space
- Throws:
java.lang.Exception
- Thrown if the Population Mode cannot be calculated
-