Class EuclideanDistance
- java.lang.Object
-
- org.apache.commons.math4.neuralnet.EuclideanDistance
-
- All Implemented Interfaces:
ToDoubleBiFunction<double[],double[]>
,DistanceMeasure
public class EuclideanDistance extends Object implements DistanceMeasure
Euclidean distance measures of n-dimensional vectors.- Since:
- 4.0
-
-
Constructor Summary
Constructors Constructor Description EuclideanDistance()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
applyAsDouble(double[] a, double[] b)
-
-
-
Constructor Detail
-
EuclideanDistance
public EuclideanDistance()
-
-
Method Detail
-
applyAsDouble
public double applyAsDouble(double[] a, double[] b)
- Specified by:
applyAsDouble
in interfaceToDoubleBiFunction<double[],double[]>
-
-