Skip to content

Commit

Permalink
fixed syntax error in correlation function documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
vrushaket committed Sep 14, 2023
1 parent 299f086 commit a2c69b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/function/statistics/corr.js
Original file line number Diff line number Diff line change
Expand Up @@ -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:
*
Expand Down

0 comments on commit a2c69b5

Please sign in to comment.