pg_utils.numerics.linalg

Functions for linear algebra

Functions

eig_generalized(M, K[, diag, solver])

Solve generalized eigenvalue problem.

Classes

LinSysSolver([name, dependencies])

Linear system solver, abstract class for all linear solvers

MultiPrecLinSolver([prec])

Multi-precision linear solver, built on gmpy2 + flamp, up to arbitrary precision

StdLinSolver()

Standard linear solver, built on numpy/scipy, to double precision or other default precision depending on the platform