Files
ruvnet--RuView/vendor/sublinear-time-solver/dist/mcp/tools/matrix.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

51 lines
1.6 KiB
TypeScript

/**
* MCP Tools for matrix analysis and operations
*/
import { Matrix, AnalyzeMatrixParams, MatrixAnalysis } from '../../core/types.js';
export declare class MatrixTools {
/**
* Analyze matrix properties
*/
static analyzeMatrix(params: AnalyzeMatrixParams): MatrixAnalysis & {
recommendations: string[];
performance: {
expectedComplexity: string;
memoryUsage: string;
recommendedMethod: string;
};
visualMetrics: {
bandwidth: number;
profileMetric: number;
fillRatio: number;
};
};
/**
* Check matrix conditioning and stability
*/
static checkConditioning(matrix: Matrix): {
isWellConditioned: boolean;
conditionEstimate?: number;
stabilityRating: 'excellent' | 'good' | 'fair' | 'poor';
warnings: string[];
};
/**
* Convert between matrix formats
*/
static convertFormat(matrix: Matrix, targetFormat: 'dense' | 'coo'): Matrix;
/**
* Generate test matrices for benchmarking
*/
static generateTestMatrix(type: string, size: number, params?: any): Matrix;
private static computeBandwidth;
private static computeProfile;
private static predictComplexity;
private static estimateMemoryUsage;
private static recommendSolverMethod;
private static generateDetailedRecommendations;
private static estimateConditionNumber;
private static generateDiagonallyDominantMatrix;
private static generateLaplacianMatrix;
private static generateRandomSparseMatrix;
private static generateTridiagonalMatrix;
}