mirror of
https://github.com/ruvnet/RuVector.git
synced 2026-05-22 19:56:25 +00:00
Add ruvector-solver with 8 iterative solver algorithms: - Jacobi-preconditioned Neumann series for diagonally dominant systems - Conjugate Gradient (CG) for symmetric positive definite systems - Forward/Backward Push for Personalized PageRank - Hybrid Random Walk with Monte Carlo sampling - TRUE solver with JL projection and spectral sparsification - BMSSP multigrid preconditioner for ill-conditioned systems - Jacobi and Gauss-Seidel iterative solvers Includes intelligent algorithm router (SolverRouter/SolverOrchestrator), WASM bindings (ruvector-solver-wasm), Node.js NAPI bindings (ruvector-solver-node), Criterion benchmark suite, comprehensive validation, audit logging, and 143 passing tests. https://claude.ai/code/session_01TiqLbr2DaNAntQHaVeLfiR
17 lines
351 B
Bash
Executable file
17 lines
351 B
Bash
Executable file
#!/bin/bash
|
|
set -euo pipefail
|
|
|
|
echo "Building ruvector-solver..."
|
|
|
|
# Native build
|
|
cargo build --release -p ruvector-solver
|
|
|
|
# WASM build (if wasm-pack available)
|
|
if command -v wasm-pack &> /dev/null; then
|
|
echo "Building WASM..."
|
|
cd crates/ruvector-solver-wasm
|
|
wasm-pack build --target web --release
|
|
cd ../..
|
|
fi
|
|
|
|
echo "Build complete!"
|