NIKX-Tech/numx

linalg: QR decomposition (Householder)

Open

#82 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_qr_decompose to the linalg module: QR decomposition via Householder reflections, bounded by NUMX_MAX_MAT_ROWS/NUMX_MAX_MAT_COLS like the rest of linalg (see numx_lu_decompose and numx_cholesky_decompose, #51, for the established style of matrix decomposition functions in this codebase).

Follow CONTRIBUTING.md exactly: full Doxygen header, NULL-checks, numx_status_t return, all four deliverables (header, impl, test, docs page). Test against known QR examples and verify Q is orthogonal (Q^T Q = I) and QR reconstructs the original matrix, following the same reconstruction-test pattern #51 used for Cholesky (test_cholesky_decompose_residual_reconstruction in tests/test_linalg.c).

Contributor Guide