code wiki / (root) / sketch_kmeans1d_test.nx

sketch_kmeans1d_test.nx

buildroot/runtime/sketch_kmeans1d_test.nx

3809 B104 linesdepth 5pulls 5 transitivereach 0 importersview sourcekind gate/prooftopic sketch
docsdependenciesstructsconstsfunctions

about

sketch_kmeans1d_test.nx -- 1D streaming k-means verification.

dependencies 3 imports · 0 importers

syscalls.nx sketch_kmeans1d.nx sketch_types.nx sketch_kmeans1d_test.nx

imports: syscalls.nxsketch_kmeans1d.nxsketch_types.nx

imported by: nobody (leaf or entry point)

call flow from main pre-order; caps 40 nodes / depth 6 declared; ↻ = already shown

main nx_kmeans_alloc nx_kmeans_observe nx_kmeans_nearest nx_kmeans_iabs nx_kmeans_n_clusters nx_kmeans_centroid nx_kmeans_predict nx_kmeans_nearest ↻ nx_kmeans_total iabs nx_kmeans_count nx_kmeans_query_centroid nx_kmeans_centroid ↻ nx_kmeans_count ↻ nx_kmeans_isqrt nx_approx_new

structs

none

consts

none

functions

7func iabs(x: i64) -> i64 {
called by 1: main
12func main() -> i64 {