Returns a distance that is a function of the correlation between two vectors.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static double CorrelationDistance(
Vector vector1,
Vector vector2
)
Public Shared Function CorrelationDistance (
vector1 As Vector,
vector2 As Vector
) As Double
public:
static double CorrelationDistance(
Vector^ vector1,
Vector^ vector2
)
static member CorrelationDistance :
vector1 : Vector *
vector2 : Vector -> float
Parameters
- vector1
- Type: Extreme.MathematicsVector
The first Vector. - vector2
- Type: Extreme.MathematicsVector
The second Vector.
Return Value
Type:
DoubleThe correlation between
vector1 and
vector2
scaled in such a way that perfect correlation corresponds to a value of 0, and perfect
inverse correlation corresponds to a value of 1.
Numerical Libraries
Supported in: 5.x, 4.x
Reference