Package org.drip.spaces.metric
Interface GeneralizedMetricVectorSpace
- All Superinterfaces:
GeneralizedVector
- All Known Implementing Classes:
R1Combinatorial,R1CombinatorialBall,R1Continuous,R1ContinuousBall,RdCombinatorialBall,RdCombinatorialBanach,RdCombinatorialHilbert,RdContinuousBall,RdContinuousBanach,RdContinuousHilbert
public interface GeneralizedMetricVectorSpace extends GeneralizedVector
GeneralizedMetricVectorSpace exposes the basic Properties of the General Normed Metric Vector
Space.
It provides the following Functionality:
- Retrieve the P-Norm Index of the Metric Space
- Retrieve the Population Metric Norm
- Author:
- Lakshmi Krishnamurthy
-
Field Summary
Fields Modifier and Type Field Description static intEUCLIDEAN_NORMEuclidean (i.e., L2) Normstatic intL2_NORML2 Normstatic intLINFINITITY_NORMLInfinity Norm -
Method Summary
Modifier and Type Method Description intpNorm()Retrieve the P-Norm Index of the Metric SpacedoublepopulationMetricNorm()Retrieve the Population Metric NormMethods inherited from interface org.drip.spaces.tensor.GeneralizedVector
cardinality, hyperVolume, isPredictorBounded, leftEdge, match, rightEdge, subset
-
Field Details
-
EUCLIDEAN_NORM
static final int EUCLIDEAN_NORMEuclidean (i.e., L2) Norm- See Also:
- Constant Field Values
-
L2_NORM
static final int L2_NORML2 Norm- See Also:
- Constant Field Values
-
LINFINITITY_NORM
static final int LINFINITITY_NORMLInfinity Norm- See Also:
- Constant Field Values
-
-
Method Details
-
pNorm
int pNorm()Retrieve the P-Norm Index of the Metric Space- Returns:
- The P-Norm Index of the Metric Space
-
populationMetricNorm
double populationMetricNorm() throws java.lang.ExceptionRetrieve the Population Metric Norm- Returns:
- The Population Metric Norm
- Throws:
java.lang.Exception- The Population Metric Norm cannot be computed
-