NIKX-Tech/numx

stats: Pearson correlation coefficient

Open

#81 建立於 2026年7月11日

在 GitHub 查看
 (0 留言) (0 反應) (0 負責人)C (1 fork)github user discovery
enhancementgood first issue

倉庫指標

Star
 (4 star)
PR 合併指標
 (PR 指標待抓取)

描述

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.

貢獻者指南