finesse.cmatrix.KLUMatrix

Overview

class finesse.cmatrix.KLUMatrix

Bases: finesse.cmatrix.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.

KLUMatrix.rcond(self)

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

KLUMatrix.refactor(self)

Re-factor the matrix.

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.