Package org.drip.spaces.metric
Class RdContinuousBall
java.lang.Object
org.drip.spaces.tensor.RdAggregate
org.drip.spaces.tensor.RdContinuousVector
org.drip.spaces.metric.RdContinuousBanach
org.drip.spaces.metric.RdContinuousBall
- All Implemented Interfaces:
GeneralizedMetricVectorSpace
,RdNormed
,GeneralizedVector
,RdGeneralizedVector
public class RdContinuousBall extends RdContinuousBanach
RdContinuousBall extends the Continuous 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 Unit Radius RdContinuousBall Instance
- RdContinuousBall 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 RdContinuousBall(R1ContinuousVector[] r1ContinuousVectorArray, Rd rdBorelSigmaMeasure, int pNorm, double normRadius)
RdContinuousBall Constructor -
Method Summary
Modifier and Type Method Description static RdContinuousBall
ClosedUnit(R1ContinuousVector[] aR1CV, Rd distRd, int iPNorm)
Construct a Unit Radius RdContinuousBall Instancedouble
normRadius()
Retrieve the Radius Normboolean
validateInstance(double[] instanceArray)
Validate the Input Instance ArrayMethods inherited from class org.drip.spaces.metric.RdContinuousBanach
borelMeasureSpaceExpectation, borelSigmaMeasure, pNorm, populationMetricNorm, populationMode, populationSupremumNorm, sampleMetricNorm, sampleSupremumNorm, StandardBanach, SupremumBanach
Methods inherited from class org.drip.spaces.tensor.RdContinuousVector
cardinality, hyperVolume, leftDimensionEdge, leftEdge, rightDimensionEdge, rightEdge, Standard
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
-
RdContinuousBall
public RdContinuousBall(R1ContinuousVector[] r1ContinuousVectorArray, Rd rdBorelSigmaMeasure, int pNorm, double normRadius) throws java.lang.ExceptionRdContinuousBall Constructor- Parameters:
r1ContinuousVectorArray
- Array of Continuous R1 Vector SpacesrdBorelSigmaMeasure
- 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
Construct a Unit Radius RdContinuousBall Instance- Parameters:
aR1CV
- Array of Continuous R1 Vector SpacesdistRd
- The Rd Borel Sigma MeasureiPNorm
- The p-norm of the Space- Returns:
- Unit Radius RdContinuousBall Instance
-
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
-