import type { TypedFunction } from '../../core/function/typed.js'; /** * Compressed-column (CSC) storage of a sparse matrix: the values, the row index of each * value, and the column pointers. */ export interface SparseMatrixData { _size: number[]; _values: unknown[]; _index: number[]; _ptr: number[]; } interface SparseMatrixConstructor { new (data: { values: unknown[]; index: number[]; ptr: number[]; size: number[]; }): SparseMatrixData; } interface CsLuDependencies { abs: TypedFunction; divideScalar: TypedFunction; multiply: TypedFunction; subtract: TypedFunction; larger: TypedFunction; largerEq: TypedFunction; SparseMatrix: SparseMatrixConstructor; } /** * Symbolic analysis that `csLu` reads: the column permutation `q` and the estimated * nonzero counts `lnz` and `unz`. */ export interface SymbolicAnalysis { q?: number[]; lnz?: number; unz?: number; } /** Result of `csLu`: the factors `L` and `U`, and the inverse row permutation `pinv`. */ export interface LuResult { L: SparseMatrixData; U: SparseMatrixData; pinv: number[]; } export declare const createCsLu: import("../../utils/factory.js").FactoryFunction LuResult | null>; export {}; //# sourceMappingURL=csLu.d.ts.map