x3cflux.MatrixLESSolver

class x3cflux.MatrixLESSolver

Bases: pybind11_object

Python interface for linear equation system solvers

Attributes

tolerance

Methods

copy(self)

solve(self, problem)

Solves linear equation system.

copy(self: x3cflux.lib.core.MatrixLESSolver) x3cflux.lib.core.MatrixLESSolver
solve(self: x3cflux.lib.core.MatrixLESSolver, problem: 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