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 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 SampleMethods inherited from class org.drip.spaces.tensor.RdCombinatorialVector
cardinality, hyperVolume, iterator, leftDimensionEdge, leftEdge, rightDimensionEdge, rightEdge
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
-
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: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
-