Package org.drip.spaces.metric
Class RdBall
java.lang.Object
org.drip.spaces.tensor.RdAggregate
org.drip.spaces.tensor.RdContinuousVector
org.drip.spaces.metric.RdBanach
org.drip.spaces.metric.RdBall
- All Implemented Interfaces:
GeneralizedMetricVectorSpace,RdNormed,GeneralizedVector,RdGeneralizedVector
public class RdBall extends RdBanach
RdBall extends the Continuous Rd 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 RdBall Instance
- RdBall 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 RdBall(R1ContinuousVector[] r1ContinuousVectorArray, RdContinuous rdBorelSigmaMeasure, int pNorm, double normRadius)RdBall Constructor -
Method Summary
Modifier and Type Method Description static RdBallClosedUnit(R1ContinuousVector[] aR1CV, RdContinuous distRd, int iPNorm)Construct a Unit Radius RdBall InstancedoublenormRadius()Retrieve the Radius NormbooleanvalidateInstance(double[] instanceArray)Validate the Input Instance ArrayMethods inherited from class org.drip.spaces.metric.RdBanach
borelMeasureSpaceExpectation, borelSigmaMeasure, pNorm, populationMetricNorm, populationMode, populationSupremumNorm, sampleMetricNorm, sampleSupremumNorm, StandardBanach, SupremumBanachMethods inherited from class org.drip.spaces.tensor.RdContinuousVector
cardinality, hyperVolume, leftDimensionEdge, leftEdge, rightDimensionEdge, rightEdge, StandardMethods inherited from class org.drip.spaces.tensor.RdAggregate
dimension, isPredictorBounded, match, subset, 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, vectorSpaces
-
Constructor Details
-
RdBall
public RdBall(R1ContinuousVector[] r1ContinuousVectorArray, RdContinuous rdBorelSigmaMeasure, int pNorm, double normRadius) throws java.lang.ExceptionRdBall 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 RdBall Instance- Parameters:
aR1CV- Array of Continuous R1 Vector SpacesdistRd- The Rd Borel Sigma MeasureiPNorm- The p-norm of the Space- Returns:
- Unit Radius RdBall Instance
-
normRadius
public double normRadius()Retrieve the Radius Norm- Returns:
- The Radius Norm
-
validateInstance
public boolean validateInstance(double[] instanceArray)Description copied from class:RdAggregateValidate the Input Instance Array- Specified by:
validateInstancein interfaceRdGeneralizedVector- Overrides:
validateInstancein classRdAggregate- Parameters:
instanceArray- The Input Instance Array- Returns:
- TRUE - Instance is a Valid Entry in the Space
-