NIKX-Tech/numx

stats: Pearson correlation coefficient

Open

#81 geöffnet am 11. Juli 2026

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)C (1 Fork)github user discovery
enhancementgood first issue

Repository-Metriken

Stars
 (4 Stars)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

Add numx_stats_correlation (Pearson's r) to the stats module, operating on two equal-length arrays.

Follow CONTRIBUTING.md exactly: full Doxygen header, NULL-checks, numx_status_t return, all four deliverables (header, impl, test, docs page). Use Kahan (compensated) summation for the accumulation, matching the pattern already used in numx_vec_dot (src/linalg.c) after #57.

Contributor Guide