Package org.drip.spaces.metric
Class R1Combinatorial
java.lang.Object
org.drip.spaces.tensor.R1CombinatorialVector
org.drip.spaces.metric.R1Combinatorial
- All Implemented Interfaces:
GeneralizedMetricVectorSpace,R1Normed,GeneralizedVector,R1GeneralizedVector
- Direct Known Subclasses:
R1CombinatorialBall
public class R1Combinatorial extends R1CombinatorialVector implements R1Normed
R1Combinatorial implements the Normed, 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
- Construct the Standard lp R1 Combinatorial Space Instance
- Construct the Supremum (i.e., lInfinity) R1 Combinatorial Space Instance
- R1Combinatorial 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 R1Combinatorial(java.util.List<java.lang.Double> elementSpaceList, R1Univariate r1Distribution, int pNorm)R1Combinatorial Space Constructor -
Method Summary
Modifier and Type Method Description doubleborelMeasureSpaceExpectation(R1ToR1 r1ToR1Function)Compute the Borel Measure Expectation for the specified R1 To R1 Function over the full Input SpaceR1UnivariateborelSigmaMeasure()Retrieve the Borel Sigma R1 Probability MeasureintpNorm()Retrieve the P-Norm Index of the Metric SpacedoublepopulationMetricNorm()Retrieve the Population Metric NormdoublepopulationMode()Retrieve the Population ModedoublesampleMetricNorm(double x)Compute the Metric Norm of the Samplestatic R1CombinatorialStandard(java.util.List<java.lang.Double> lsElementSpace, R1Univariate distR1, int iPNorm)Construct the Standard lp R1 Combinatorial Space Instancestatic R1CombinatorialSupremum(java.util.List<java.lang.Double> lsElementSpace, R1Univariate distR1)Construct the Supremum (i.e., lInfinity) R1 Combinatorial Space InstanceMethods inherited from class org.drip.spaces.tensor.R1CombinatorialVector
cardinality, elementSpace, hyperVolume, isPredictorBounded, leftEdge, match, rightEdge, subset, validateInstanceMethods 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.R1GeneralizedVector
validateInstance
-
Constructor Details
-
R1Combinatorial
public R1Combinatorial(java.util.List<java.lang.Double> elementSpaceList, R1Univariate r1Distribution, int pNorm) throws java.lang.ExceptionR1Combinatorial Space Constructor- Parameters:
elementSpaceList- The List Space of Elementsr1Distribution- The R1 Borel Sigma MeasurepNorm- The p-norm of the Space- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid
-
-
Method Details
-
Standard
public static final R1Combinatorial Standard(java.util.List<java.lang.Double> lsElementSpace, R1Univariate distR1, int iPNorm)Construct the Standard lp R1 Combinatorial Space Instance- Parameters:
lsElementSpace- The List Space of ElementsdistR1- The R1 Borel Sigma MeasureiPNorm- The p-norm of the Space- Returns:
- The Standard lp R1 Combinatorial Space Instance
-
Supremum
public static final R1Combinatorial Supremum(java.util.List<java.lang.Double> lsElementSpace, R1Univariate distR1)Construct the Supremum (i.e., lInfinity) R1 Combinatorial Space Instance- Parameters:
lsElementSpace- The List Space of ElementsdistR1- The R1 Borel Sigma Measure- Returns:
- The Supremum (i.e., lInfinity) R1 Combinatorial 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:R1NormedRetrieve the Borel Sigma R1 Probability Measure- Specified by:
borelSigmaMeasurein interfaceR1Normed- Returns:
- The Borel Sigma R1 Probability Measure
-
sampleMetricNorm
public double sampleMetricNorm(double x) throws java.lang.ExceptionDescription copied from interface:R1NormedCompute the Metric Norm of the Sample- Specified by:
sampleMetricNormin interfaceR1Normed- 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.ExceptionDescription copied from interface:R1NormedRetrieve the Population Mode- Specified by:
populationModein interfaceR1Normed- Returns:
- The Population Mode
- Throws:
java.lang.Exception- Thrown if the Population Mode cannot be calculated
-
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:R1NormedCompute the Borel Measure Expectation for the specified R1 To R1 Function over the full Input Space- Specified by:
borelMeasureSpaceExpectationin interfaceR1Normed- 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
-