Skip to content

Commit 918911b

Browse files
committed
corr:rebase and addition of links
1 parent 19b3b95 commit 918911b

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

doc/specs/stdlib_experimental_stats.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The Pearson correlation between two rows (or columns), say `x` and `y`, of `arra
2020

2121
### Syntax
2222

23-
`result = corr(array, dim [, mask])`
23+
`result = [[stdlib_experimental_stats(module):corr(interface)]](array, dim [, mask])`
2424

2525
### Arguments
2626

src/stdlib_experimental_stats.fypp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ module stdlib_experimental_stats
1515

1616

1717
interface corr
18+
!! Pearson correlation of array elements
19+
!! ([Specification](../page/specs/stdlib_experimental_stats.html#description))
1820
#:for k1, t1 in RC_KINDS_TYPES
1921
#:set RName = rname("corr",1, t1, k1)
2022
module function ${RName}$(x, dim, mask) result(res)
@@ -104,7 +106,7 @@ module stdlib_experimental_stats
104106

105107
interface cov
106108
!! Covariance of array elements
107-
!! ([Specification](../page/specs/stdlib_experimental_stats.html#description))
109+
!! ([Specification](../page/specs/stdlib_experimental_stats.html#description_1))
108110
#:for k1, t1 in RC_KINDS_TYPES
109111
#:set RName = rname("cov",1, t1, k1)
110112
module function ${RName}$(x, dim, mask, corrected) result(res)
@@ -201,7 +203,7 @@ module stdlib_experimental_stats
201203

202204
interface mean
203205
!! Mean of array elements
204-
!! ([Specification](../page/specs/stdlib_experimental_stats.html#description_1))
206+
!! ([Specification](../page/specs/stdlib_experimental_stats.html#description_2))
205207
#:for k1, t1 in RC_KINDS_TYPES
206208
#:for rank in RANKS
207209
#:set RName = rname("mean_all",rank, t1, k1)
@@ -299,7 +301,7 @@ module stdlib_experimental_stats
299301

300302
interface var
301303
!! Variance of array elements
302-
!! ([Specification](../page/specs/stdlib_experimental_stats.html#description_3))
304+
!! ([Specification](../page/specs/stdlib_experimental_stats.html#description_4))
303305

304306
#:for k1, t1 in RC_KINDS_TYPES
305307
#:for rank in RANKS
@@ -406,7 +408,7 @@ module stdlib_experimental_stats
406408

407409
interface moment
408410
!! Central moment of array elements
409-
!! ([Specification](../page/specs/stdlib_experimental_stats.html#description_2))
411+
!! ([Specification](../page/specs/stdlib_experimental_stats.html#description_3))
410412
#:for k1, t1 in RC_KINDS_TYPES
411413
#:for rank in RANKS
412414
#:set RName = rname("moment_all",rank, t1, k1)

0 commit comments

Comments
 (0)