Package org.drip.spaces.metric
Class RdCombinatorialBall
java.lang.Object
org.drip.spaces.tensor.RdAggregate
org.drip.spaces.tensor.RdCombinatorialVector
org.drip.spaces.metric.RdCombinatorialBanach
org.drip.spaces.metric.RdCombinatorialBall
- All Implemented Interfaces:
GeneralizedMetricVectorSpace
,RdNormed
,GeneralizedVector
,RdGeneralizedVector
public class RdCombinatorialBall extends RdCombinatorialBanach
RdCombinatorialBall extends the Combinatorial Rd Banach Space by enforcing the Closed
Bounded Metric. 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 a RdCombinatorialBall Instance of Unit Radius
- RdCombinatorialBall Constructor
- Retrieve the Radius Norm
- 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 RdCombinatorialBall(R1CombinatorialVector[] r1CombinatorialVectorArray, Rd rdContinuousBorelMeasure, int pNorm, double normRadius)
RdCombinatorialBall Constructor -
Method Summary
Modifier and Type Method Description static RdCombinatorialBall
ClosedUnit(R1CombinatorialVector[] aR1CV, Rd distRd, int iPNorm)
Construct a RdCombinatorialBall Instance of Unit Radiusdouble
normRadius()
Retrieve the Radius Normboolean
validateInstance(double[] instanceArray)
Validate the Input Instance ArrayMethods inherited from class org.drip.spaces.metric.RdCombinatorialBanach
borelMeasureSpaceExpectation, borelSigmaMeasure, pNorm, populationMetricNorm, populationMode, populationSupremumNorm, sampleMetricNorm, sampleSupremumNorm
Methods 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, 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, vectorSpaces
-
Constructor Details
-
RdCombinatorialBall
public RdCombinatorialBall(R1CombinatorialVector[] r1CombinatorialVectorArray, Rd rdContinuousBorelMeasure, int pNorm, double normRadius) throws java.lang.ExceptionRdCombinatorialBall Constructor- Parameters:
r1CombinatorialVectorArray
- Array of Combinatorial Rd Vector SpacesrdContinuousBorelMeasure
- The Rd Borel Sigma MeasurepNorm
- The p-norm of the SpacenormRadius
- Radius Norm of the Unit Ball- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
ClosedUnit
public static final RdCombinatorialBall ClosedUnit(R1CombinatorialVector[] aR1CV, Rd distRd, int iPNorm)Construct a RdCombinatorialBall Instance of Unit Radius- Parameters:
aR1CV
- Array of Combinatorial R^d Vector SpacesdistRd
- The Rd Borel Sigma MeasureiPNorm
- The p-norm of the Space- Returns:
- RdCombinatorialBall Instance of Unit Radius
-
normRadius
public double normRadius()Retrieve the Radius Norm- Returns:
- The Radius Norm
-
validateInstance
public boolean validateInstance(double[] instanceArray)Description copied from class:RdAggregate
Validate the Input Instance Array- Specified by:
validateInstance
in interfaceRdGeneralizedVector
- Overrides:
validateInstance
in classRdAggregate
- Parameters:
instanceArray
- The Input Instance Array- Returns:
- TRUE - Instance is a Valid Entry in the Space
-