UNPKG

@mojir/lits

Version:

Lits is a pure functional programming language implemented in TypeScript

7 lines (6 loc) 243 B
/** * Calculates the determinant of a matrix using Gaussian Elimination * @param matrix A square matrix represented as a 2D array * @returns The determinant of the matrix */ export declare function determinant(matrix: number[][]): number;