{ } Raw JSON

bundles / scipy latest / scipy / sparse / linalg / _isolve / utils / make_system

function

scipy.sparse.linalg._isolve.utils:make_system

source: /scipy/sparse/linalg/_isolve/utils.py :31

Signature

def   make_system ( A M x0 b )

Summary

Make a linear system Ax=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, which means using the zero initial guess.

b : array_like

right hand side

Returns

: (A, M, x, b)

A

A

M

M

x

x

b

b

Aliases

  • scipy.sparse.linalg._isolve._gcrotmk.make_system