code wiki / vec

topic: vec

27 modules sharing the vec name family (derived from the tree's prefix discipline).

The 'vec' topic family in the Nishi sovereign ecosystem provides tools for vector operations and embeddings, supporting advanced search and data processing. The nx_vec module serves as a dynamic array for i64 values, forming the foundational structure. nx_vec_embed generates text embeddings for sovereign distributional semantics, while nx_vec_fuse combines ranked results using hybrid search techniques. These modules work together to enable efficient and semantically rich data handling within the ecosystem.

auto-narrated by the local model from this topic's module headers; links verified against the wiki index.

narrated overview -- maintained by the narration lane, module links verified against this wiki.

moduledescriptionlinesfuncs
nx_vec.nxdynamic-array of i64 (Phase G7 in the roadmap).1109
nx_vec_add.nxAUTO-GENERATED from shape `pairwise_array_op`.281
nx_vec_add_test.nx181
nx_vec_and.nxAUTO-GENERATED from shape `pairwise_array_op`.281
nx_vec_and_test.nx181
nx_vec_embed.nxR-VEC-1 of the onsite-search S-class ladder: SOVEREIGN text->vector embeddings (LIBRARY),403
nx_vec_embed_gate.nxgate for R-VEC-1 (nx_vec_embed): proves sovereign distributional semantics on a505
nx_vec_fuse.nxR-VEC-5 of the onsite-search S-class ladder: SOVEREIGN hybrid-search rank fusion (LIBRARY).443
nx_vec_fuse_gate.nxKAT for R-VEC-5 (nx_vec_fuse). Proves the defining RRF/hybrid behavior with two ranked456
nx_vec_hybrid_gate.nxINTEGRATION proof that R-VEC-0 (kernel) + R-VEC-1 (embeddings) + R-VEC-5 (RRF fusion)797
nx_vec_index.nxR3 rung 1: a SOVEREIGN integer dense-vector store + exact cosine k-NN = the MILVUS/ANN12610
nx_vec_kernel.nxR-VEC-0 of the onsite-search S-class ladder: the SOVEREIGN vector-math kernel (LIBRARY),583
nx_vec_kernel_gate.nxKAT gate for R-VEC-0 (nx_vec_kernel). Known cosines a human can verify by hand:385
nx_vec_min.nxAUTO-GENERATED from shape `pairwise_array_op`.281
nx_vec_min_test.nx181
nx_vec_nsw.nxR-VEC-3 of the onsite-search S-class ladder: SOVEREIGN approximate-nearest-neighbor INDEX via883
nx_vec_nsw_gate.nxKAT for R-VEC-3 (nx_vec_nsw): the NSW graph search returns the TRUE nearest neighbor597
nx_vec_or.nxAUTO-GENERATED from shape `pairwise_array_op`.281
nx_vec_or_test.nx181
nx_vec_sub.nxAUTO-GENERATED from shape `pairwise_array_op`.281
nx_vec_sub_test.nx181
nx_vec_vq.nxR-VEC-4 of the onsite-search S-class ladder: SOVEREIGN vector quantization (LIBRARY). Raw f32424
nx_vec_vq_gate.nxKAT for R-VEC-4 (nx_vec_vq): k-means VQ groups same-cluster vectors under one code, with457
nx_vec_xor.nxAUTO-GENERATED from shape `pairwise_array_op`.281
nx_vec_xor_test.nx181
vec.nxdynamic-array of i64 (Phase G7 in the roadmap). 1049
vec_test.nxself-test for vec.nx. 451