Module linear_solvers

Module linear_solvers 

Source
Expand description

Linear solvers for ODE systems

This module provides linear system solvers for use within ODE solvers. These replace the need for external linear algebra libraries like ndarray-linalg.

Enums§

LinearSolverType
Enum for different types of linear solvers

Functions§

auto_solve_linear_system
Solve a linear system using automatic method selection
matrix_norm
Compute the Frobenius norm of a matrix
solve_gmres
Solve a linear system using GMRES (Generalized Minimal Residual) method
solve_linear_system
Solve a linear system Ax = b using Gaussian elimination with partial pivoting
solve_lu
Solve a linear system using LU decomposition (alias for compatibility)
vector_norm
Compute the norm of a vector