UNPKG

@mojir/lits

Version:

Lits is a pure functional programming language implemented in TypeScript

9 lines (8 loc) 276 B
/** * Solves a system of linear equations Ax = b * * @param A - The coefficient matrix * @param b - The constant vector * @returns The solution vector x, or null if no unique solution exists */ export declare function solve(A: number[][], b: number[]): number[] | null;