x3cflux.MatrixLUSolver

class x3cflux.MatrixLUSolver

Bases: MatrixLESSolver

Linear equation system solver using LU decomposition

Attributes

tolerance

Methods

copy(self)

solve(self, arg0)

Solves linear equation system.

solve(self: x3cflux.lib.core.MatrixLUSolver, arg0: x3cflux.lib.core.MatrixLinearEquationSystem) Annotated[numpy.typing.NDArray[numpy.float64], '[m, n]']

Solves linear equation system.

Parameters:

problem – Linear equation system

Returns:

Solution vector/matrix