finesse.simulations.sparse.KLU module

class finesse.simulations.sparse.KLU.KLUSolver(*args, **kwargs)[source]

Bases: SparseSolver

This extends the BaseSolver for using the KLU (Suitesparse) library for solving linear sparse systems of equations. It sets the _M member to a KLUMatrix.

add_noise_matrix(self, key)[source]
add_rhs(self, str key)[source]
condest(self) double
initial_run(self)[source]
rcond(self) double
refactor(self)[source]
rgrowth(self) double
solve(self)[source]
solve_noises(self)[source]
class finesse.simulations.sparse.KLU.KLUStatWorkspace[source]

Bases: DetectorWorkspace

class finesse.simulations.sparse.KLU.KLUStatsDetector(*args, **kwargs)[source]

Bases: Detector

A detector that can be used to output some of the KLU solver statistics.

fill(self, ws)[source]