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 doubleborelMeasureSpaceExpectation(RdToR1 rdToR1Function)Compute the Borel Measure Expectation for the specified Rd To R1 Function over the full Input SpaceRdborelSigmaMeasure()Retrieve the Borel Sigma Rd Probability MeasureintpNorm()Retrieve the P-Norm Index of the Metric SpacedoublepopulationMetricNorm()Retrieve the Population Metric Normdouble[]populationMode()Retrieve the Population ModedoublepopulationSupremumNorm()Compute the Population Supremum Norm of the SampledoublesampleMetricNorm(double[] xArray)Compute the Metric Norm of the SampledoublesampleSupremumNorm(double[] xArray)Compute the Supremum Norm of the Samplestatic RdContinuousBanachStandardBanach(int iDimension, Rd distRd, int iPNorm)Construct the Standard lp Rd Continuous Banach Space Instancestatic RdContinuousBanachSupremumBanach(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, StandardMethods inherited from class org.drip.spaces.tensor.RdAggregate
dimension, isPredictorBounded, match, subset, validateInstance, vectorSpacesMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.drip.spaces.tensor.GeneralizedVector
cardinality, hyperVolume, isPredictorBounded, leftEdge, match, rightEdge, subsetMethods 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:GeneralizedMetricVectorSpaceRetrieve the P-Norm Index of the Metric Space- Specified by:
pNormin interfaceGeneralizedMetricVectorSpace- Returns:
- The P-Norm Index of the Metric Space
-
borelSigmaMeasure
Description copied from interface:RdNormedRetrieve the Borel Sigma Rd Probability Measure- Specified by:
borelSigmaMeasurein interfaceRdNormed- Returns:
- The Borel Sigma Rd Probability Measure
-
sampleSupremumNorm
public double sampleSupremumNorm(double[] xArray) throws java.lang.ExceptionDescription copied from interface:RdNormedCompute the Supremum Norm of the Sample- Specified by:
sampleSupremumNormin 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:RdNormedCompute the Metric Norm of the Sample- Specified by:
sampleMetricNormin 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:RdNormedRetrieve the Population Mode- Specified by:
populationModein interfaceRdNormed- Returns:
- The Population Mode
-
populationSupremumNorm
public double populationSupremumNorm() throws java.lang.ExceptionDescription copied from interface:RdNormedCompute the Population Supremum Norm of the Sample- Specified by:
populationSupremumNormin 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:GeneralizedMetricVectorSpaceRetrieve the Population Metric Norm- Specified by:
populationMetricNormin interfaceGeneralizedMetricVectorSpace- Returns:
- The Population Metric Norm
- Throws:
java.lang.Exception- The Population Metric Norm cannot be computed
-
borelMeasureSpaceExpectation
Description copied from interface:RdNormedCompute the Borel Measure Expectation for the specified Rd To R1 Function over the full Input Space- Specified by:
borelMeasureSpaceExpectationin 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
-