Package org.drip.spaces.metric
Class R1ContinuousBall
java.lang.Object
org.drip.spaces.tensor.R1ContinuousVector
org.drip.spaces.metric.R1Continuous
org.drip.spaces.metric.R1ContinuousBall
- All Implemented Interfaces:
GeneralizedMetricVectorSpace
,R1Normed
,GeneralizedVector
,R1GeneralizedVector
public class R1ContinuousBall extends R1Continuous
R1ContinuousBall extends the Continuous R1 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
- Module = Computational Core Module
- Library = Statistical Learning Library
- Project = R1 and Rd Vector/Tensor Spaces (Validated and/or Normed), and Function Classes
- Package = Hilbert/Banach Normed Metric Spaces
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description R1ContinuousBall(double dblLeftEdge, double dblRightEdge, R1Univariate distR1, int iPNorm, double dblNormRadius)
R1ContinuousBall Constructor -
Method Summary
Modifier and Type Method Description static R1ContinuousBall
ClosedUnit(double dblLeftEdge, double dblRightEdge, R1Univariate distR1, int iPNorm)
Construct a R1ContinuousBall Instance of Unit Radiusdouble
normRadius()
Retrieve the Radius Normboolean
validateInstance(double dblInstance)
Validate the Input Instance OrdinateMethods inherited from class org.drip.spaces.metric.R1Continuous
borelMeasureSpaceExpectation, borelSigmaMeasure, pNorm, populationMetricNorm, populationMode, sampleMetricNorm, Standard, Supremum
Methods inherited from class org.drip.spaces.tensor.R1ContinuousVector
cardinality, hyperVolume, isPredictorBounded, leftEdge, match, rightEdge, Standard, subset
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
-
Constructor Details
-
R1ContinuousBall
public R1ContinuousBall(double dblLeftEdge, double dblRightEdge, R1Univariate distR1, int iPNorm, double dblNormRadius) throws java.lang.ExceptionR1ContinuousBall Constructor- Parameters:
dblLeftEdge
- The Left EdgedblRightEdge
- The Right EdgedistR1
- The R^1 Borel Sigma MeasureiPNorm
- The p-norm of the SpacedblNormRadius
- Radius Norm of the Unit Ball- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
ClosedUnit
public static final R1ContinuousBall ClosedUnit(double dblLeftEdge, double dblRightEdge, R1Univariate distR1, int iPNorm)Construct a R1ContinuousBall Instance of Unit Radius- Parameters:
dblLeftEdge
- The Left EdgedblRightEdge
- The Right EdgedistR1
- The R^1 Borel Sigma MeasureiPNorm
- The p-norm of the Space- Returns:
- R1ContinuousBall Instance of Unit Radius
-
normRadius
public double normRadius()Retrieve the Radius Norm- Returns:
- The Radius Norm
-
validateInstance
public boolean validateInstance(double dblInstance)Description copied from interface:R1GeneralizedVector
Validate the Input Instance Ordinate- Specified by:
validateInstance
in interfaceR1GeneralizedVector
- Overrides:
validateInstance
in classR1ContinuousVector
- Parameters:
dblInstance
- The Input Instance Ordinate- Returns:
- TRUE - Instance Ordinate is a Valid Entry in the Space
-