Package org.drip.spaces.metric
Class RdCombinatorialBanach
java.lang.Object
org.drip.spaces.tensor.RdAggregate
org.drip.spaces.tensor.RdCombinatorialVector
org.drip.spaces.metric.RdCombinatorialBanach
- All Implemented Interfaces:
GeneralizedMetricVectorSpace,RdNormed,GeneralizedVector,RdGeneralizedVector
- Direct Known Subclasses:
RdCombinatorialBall,RdCombinatorialHilbert
public class RdCombinatorialBanach extends RdCombinatorialVector implements RdNormed
RdCombinatorialBanach implements the Bounded/Unbounded Combinatorial 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
- RdCombinatorialBanach 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 RdCombinatorialBanach(R1CombinatorialVector[] r1CombinatorialVectorArray, Rd rdContinuous, int pNorm)RdCombinatorialBanach 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 SampleMethods inherited from class org.drip.spaces.tensor.RdCombinatorialVector
cardinality, hyperVolume, iterator, leftDimensionEdge, leftEdge, rightDimensionEdge, rightEdgeMethods 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
-
RdCombinatorialBanach
public RdCombinatorialBanach(R1CombinatorialVector[] r1CombinatorialVectorArray, Rd rdContinuous, int pNorm) throws java.lang.ExceptionRdCombinatorialBanach Space Constructor- Parameters:
r1CombinatorialVectorArray- Array of Combinatorial R1 Vector SpacesrdContinuous- The Rd Borel Sigma MeasurepNorm- The p-norm of the Space- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
-
Method Details
-
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
-