code wiki / (root) / nx_uv_gram_solver_candidate_t280.nx

nx_uv_gram_solver_candidate_t280.nx

buildroot/runtime/nx_uv_gram_solver_candidate_t280.nx

11454 B177 linesdepth 6pulls 14 transitivereach 16 importersview sourcekind librarytopic uv
docsdependenciesstructsconstsfunctions

about

nx_uv_gram_solver_candidate_t280.nx -- Solves least-squares problems using a graph-based operator and compensated dot product for numerical stability.

dependencies 3 imports · 6 importers

nx_nxa_corner_prepare_candidate_t2 nx_numeric.nx nx_f64_sqrt.nx nx_uv_gram_solver_candidate_t2 nx_uv_gram_actual_gate_t280.nx nx_uv_gram_solver_gate_t280.nx nx_uv_harmonic_candidate_t280.nx nx_uv_precision_witness_t280.nx nx_uv_quality_candidate_t282.nx nx_uv_stretch_candidate_t281.nx

imports: nx_nxa_corner_prepare_candidate_t280.nxnx_numeric.nxnx_f64_sqrt.nx

imported by: nx_uv_gram_actual_gate_t280.nxnx_uv_gram_solver_gate_t280.nxnx_uv_harmonic_candidate_t280.nxnx_uv_precision_witness_t280.nxnx_uv_quality_candidate_t282.nxnx_uv_stretch_candidate_t281.nx

structs

7struct UvGramSolve

consts

14const ULS_YIELD:i64=1
15const ULS_CANCELLED:i64=2
16const ULS_NUMERIC:i64=0-20

functions

17func uls_finite(x:f64)->i64
21func uls_sqrt(x:f64)->f64
25func uls_dot(s:*UvGramSolve,a:*f64,b:*f64)->f64
33func uls_graph_apply(s:*UvGramSolve,x:*f64,y:*f64)->i64
47func uls_apply(s:*UvGramSolve,x:*f64,y:*f64)->i64
62func uls_residual_apply(s:*UvGramSolve)->i64
67func uls_free(s:*UvGramSolve)->i64
called by 10: mainmainmainmainmainmain+4
76func uls_begin(m:*i64,c:i64,tolerance:f64)->*UvGramSolve
138func uls_step(s:*UvGramSolve,budget:i64)->i64
143func uls_step_controlled(s:*UvGramSolve,budget:i64,cancel:*i64)->i64
172func uls_export(s:*UvGramSolve)->i64
called by 8: mainmainmainmainmainmain+2 calls 1: uls_finite