mirror of
https://github.com/esiur/esiur-dotnet.git
synced 2026-10-29 12:06:51 +00:00
fuzzy
This commit is contained in:
1 parent
a645946a18
commit
584cd458de
15 files changed
+499
-4
No files matched your search
@@ -38,7 +38,7 @@ namespace Esiur.Analysis.Statistics
|
||||
|
||||
public static double Correlation(this double[] x, double[] y)
|
||||
{
|
||||
return x.Covariance(y) / (x.StdDiv() * y.StdDiv());
|
||||
return Covariance(x, y) / (StdDiv(x) * StdDiv(y));
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user