@mojir/lits
Version:
Lits is a pure functional programming language implemented in TypeScript
8 lines (7 loc) • 311 B
TypeScript
/**
* Performs Gauss-Jordan elimination on a matrix, transforming it to reduced row echelon form
*
* @param matrix - The input matrix
* @returns A tuple containing the reduced row echelon form matrix and the rank
*/
export declare function gaussJordanElimination(matrix: number[][]): [number[][], number];