Files
ruvnet--RuView/vendor/sublinear-time-solver/dist/mcp/tools/simple-wasm-solver.d.ts
T
ruv 4b1005524e feat: complete vendor repos, add edge intelligence and WASM modules
- Add 154 missing vendor files (gitignore was filtering them)
  - vendor/midstream: 564 files (was 561)
  - vendor/sublinear-time-solver: 1190 files (was 1039)
- Add ESP32 edge processing (ADR-039): presence, vitals, fall detection
- Add WASM programmable sensing (ADR-040/041) with wasm3 runtime
- Add firmware CI workflow (.github/workflows/firmware-ci.yml)
- Add wifi-densepose-wasm-edge crate for edge WASM modules
- Update sensing server, provision.py, UI components

Co-Authored-By: claude-flow <ruv@ruv.net>
2026-03-02 23:53:25 -05:00

41 lines
1.2 KiB
TypeScript

/**
* Simple, Direct O(log n) Sublinear Solver
*
* This bypasses WASM integration issues and provides true O(log n) algorithms
* implemented directly in TypeScript with Johnson-Lindenstrauss embeddings.
*/
export declare class SimpleSublinearSolver {
private config;
constructor(jlDistortion?: number, seriesTruncation?: number);
/**
* Johnson-Lindenstrauss embedding for dimension reduction
* This provides the O(log n) complexity guarantee
*/
private createJLEmbedding;
/**
* Generate Gaussian random numbers using Box-Muller transform
*/
private gaussianRandom;
/**
* Project matrix using Johnson-Lindenstrauss embedding
*/
private projectMatrix;
/**
* Project vector using Johnson-Lindenstrauss embedding
*/
private projectVector;
/**
* Solve using truncated Neumann series: x = (I + N + N² + ... + N^k) * b
* where N = I - D^(-1)A for diagonally dominant matrices
*/
private solveNeumann;
/**
* Solve linear system with guaranteed O(log n) complexity using JL embedding
*/
solveSublinear(matrix: number[][], b: number[]): Promise<any>;
/**
* Compute residual r = b - Ax
*/
private computeResidual;
}