scipy 1.8.0 Pypi GitHub Homepage
Other Docs
ParametersReturns
make_system(A, M, x0, b)

Parameters

A : LinearOperator

sparse or dense matrix (or any valid input to aslinearoperator)

M : {LinearOperator, Nones}

preconditioner sparse or dense matrix (or any valid input to aslinearoperator)

x0 : {array_like, str, None}

initial guess to iterative method. x0 = 'Mb' means using the nonzero initial guess M @ b . Default is :None:None:`None`, which means using the zero initial guess.

b : array_like

right hand side

Returns

(A, M, x, b, postprocess)

A

A

M

M

x

x

b

b

postprocess

postprocess

Make a linear system Ax=b

Examples

See :

Local connectivity graph

Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.

Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)

SVG is more flexible but power hungry; and does not scale well to 50 + nodes.

All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them


GitHub : /scipy/sparse/linalg/_isolve/utils.py#32
type: <class 'function'>
Commit: