Catalano.Math.Distances
Class ArithmeticGeometricDivergence
- java.lang.Object
-
- Catalano.Math.Distances.ArithmeticGeometricDivergence
-
- All Implemented Interfaces:
- IDivergence<double[]>, java.io.Serializable
public class ArithmeticGeometricDivergence extends java.lang.Object implements IDivergence<double[]>
Arithmetic Geometric divergence.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description ArithmeticGeometricDivergence()Initialize a new instance of the ArithmeticGeometricDivergence class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description doubleCompute(double[] u, double[] v)Compute the distance between the vectors.
-
-
-
Constructor Detail
-
ArithmeticGeometricDivergence
public ArithmeticGeometricDivergence()
Initialize a new instance of the ArithmeticGeometricDivergence class.
-
-
Method Detail
-
Compute
public double Compute(double[] u, double[] v)Description copied from interface:IDivergenceCompute the distance between the vectors.- Specified by:
Computein interfaceIDivergence<double[]>- Parameters:
u- Vector.v- Vector.- Returns:
- Distance.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG