NIKX-Tech/numx

stats: Pearson correlation coefficient

Open

#81 aperta il 11 lug 2026

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)C (1 fork)github user discovery
enhancementgood first issue

Metriche repository

Star
 (4 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

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.

Guida contributor