NIKX-Tech/numx

stats: Pearson correlation coefficient

Open

#81 opened on 2026年7月11日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)C (1 fork)github user discovery
enhancementgood first issue

Repository metrics

Stars
 (4 stars)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド