Package com.opttek.optquest
Class COptQuestKrigEuclideanDistance
java.lang.Object
com.opttek.optquest.COptQuestKrigEuclideanDistance
- All Implemented Interfaces:
IKrigDistance
An implementation of KrigDistance that simply
returns the Euclidean distance between two vectors
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
getDistance
(double[] v1, double[] v2) return the distance between two multidimensional vectors in any arbitrary space.double[]
-
Constructor Details
-
COptQuestKrigEuclideanDistance
public COptQuestKrigEuclideanDistance()
-
-
Method Details
-
getDistance
public double getDistance(double[] v1, double[] v2) return the distance between two multidimensional vectors in any arbitrary space.- Specified by:
getDistance
in interfaceIKrigDistance
- Parameters:
v1
- - the one of the two vectors we're computing the distance betweenv2
- - the other of the two vectors we're computing the distance between
-
getWeights
public double[] getWeights()- Specified by:
getWeights
in interfaceIKrigDistance
-