scipy.linalg.cg

scipy.linalg.cg(*args, **kwds)

scipy.linalg.cg is DEPRECATED!! – use scipy.sparse.linalg.cg instead

Use Conjugate Gradient iteration to solve A x = b

Parameters:

A : {sparse matrix, dense matrix, LinearOperator}

The N-by-N matrix of the linear system.

b : {array, matrix}

Right hand side of the linear system. Has shape (N,) or (N,1).

Previous topic

scipy.linalg.funm

Next topic

scipy.linalg.cgs

This Page

Quick search