From a2c69b52b7eacc87843c5ab47a51f2de3fb859f5 Mon Sep 17 00:00:00 2001 From: vrushaket Date: Thu, 14 Sep 2023 13:32:25 +0530 Subject: [PATCH] fixed syntax error in correlation function documentation --- src/function/statistics/corr.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/function/statistics/corr.js b/src/function/statistics/corr.js index e476c021f1..e1d506578f 100644 --- a/src/function/statistics/corr.js +++ b/src/function/statistics/corr.js @@ -18,7 +18,7 @@ export const createCorr = /* #__PURE__ */ factory(name, dependencies, ({ typed, * math.corr([1, 2.2, 3, 4.8, 5], [4, 5.3, 6.6, 7, 8]) //returns 0.9569941688503644 * math.corr([[1, 2.2, 3, 4.8, 5], [4, 5.3, 6.6, 7, 8]],[[1, 2.2, 3, 4.8, 5], [4, 5.3, 6.6, 7, 8]]) // returns [1,1] * math.corr(math.matrix([2, 4, 6, 8]), math.matrix([1, 2, 3, 6])) // returns 0.9561828874675149 - * math.corr(math.matrix([[1, 2.2, 3, 4.8, 5], [1, 2, 3, 4, 5]]), math.matrix([[4, 5.3, 6.6, 7, 8], [1, 2, 3, 4, 5]]) // returns [0.9569941688503644, 1] + * math.corr(math.matrix([[1, 2.2, 3, 4.8, 5], [1, 2, 3, 4, 5]]), math.matrix([[4, 5.3, 6.6, 7, 8], [1, 2, 3, 4, 5]])) // returns [0.9569941688503644, 1] * * See also: *