finesse.cymath.cmatrix.KLUMatrix

Overview

class finesse.cymath.cmatrix.KLUMatrix

Bases: CCSMatrix

An object representation of a CCS matrix with methods to factor and solve the matrix via KLU.

Methods

KLUMatrix.condest(self)

klu_condest

KLUMatrix.factor(self)

Factor the matrix using KLU.

KLUMatrix.rcond(self)

klu_rcond: compute min(abs(diag(U))) / max(abs(diag(U)))

KLUMatrix.refactor(self)

Refactor the matrix using KLU.

KLUMatrix.rgrowth(self)

klu_rgrowth : compute the reciprocal pivot growth

KLUMatrix.solve(self, int transpose=False, ...)

Solve the matrix with options for transposing and conjugating.

KLUMatrix.solve_extra_rhs(self, ...)

Solve the matrix for all present rhs vectors except the main one, with options for transposing and conjugating.

KLUMatrix.zgemv(self, double complex[, ...)

Multiply this matrix with the rhs vector corresponding to rhs_index, and store the result in out.