| NMathFunctionsCorrelation(Int32, Int32) Method |
Computes the Pearson correlation of two data sets.
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntax public static double Correlation(
int[] data1,
int[] data2
)
Public Shared Function Correlation (
data1 As Integer(),
data2 As Integer()
) As Double
public:
static double Correlation(
array<int>^ data1,
array<int>^ data2
)
static member Correlation :
data1 : int[] *
data2 : int[] -> float
Parameters
- data1 Int32
- The first data set.
- data2 Int32
- The second set set.
Return Value
DoubleCorrelation.
Exceptions See Also