15.12.2012 Views

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

scipy tutorial - Baustatik-Info-Server

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SciPy Reference Guide, Release 0.8.dev<br />

Notes<br />

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

THIS FUNCTION IS EXPERIMENTAL AND SUBJECT TO CHANGE!<br />

References<br />

Solution of sparse indefinite systems of linear equations,<br />

C. C. Paige and M. A. Saunders (1975), SIAM J. Numer. Anal. 12(4), pp. 617-629.<br />

http://www.stanford.edu/group/SOL/software/minres.html<br />

This file is a translation of the following MATLAB implementation:<br />

http://www.stanford.edu/group/SOL/software/minres/matlab/<br />

qmr(A, b, x0=None, tol=1.0000000000000001e-05, maxiter=None, xtype=None, M1=None, M2=None, callback=None)<br />

Use Quasi-Minimal Residual iteration to solve A x = b<br />

See Also:<br />

Parameters<br />

A : {sparse matrix, dense matrix, LinearOperator}<br />

LinearOperator<br />

The N-by-N matrix of the linear system.<br />

b : {array, matrix}<br />

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

splu(A, permc_spec=2, diag_pivot_thresh=1.0, drop_tol=0.0, relax=1, panel_size=10)<br />

A linear solver, for a sparse, square matrix A, using LU decomposition where L is a lower triangular matrix and<br />

U is an upper triagular matrix.<br />

Returns a factored_lu object. (<strong>scipy</strong>.sparse.linalg.dsolve._superlu.SciPyLUType)<br />

See <strong>scipy</strong>.sparse.linalg.dsolve._superlu.dgstrf for more info.<br />

spsolve(A, b, permc_spec=2)<br />

Solve the sparse linear system Ax=b<br />

test<br />

Run tests for module using nose.<br />

Parameters<br />

label : {‘fast’, ‘full’, ‘’, attribute identifier}, optional<br />

Identifies the tests to run. This can be a string to pass to the nosetests executable<br />

with the ‘-A’ option, or one of several special values. Special values are:<br />

‘fast’ - the default - which corresponds to the nosetests -A<br />

option of ‘not slow’.<br />

‘full’ - fast (as above) and slow tests as in the<br />

‘no -A’ option to nosetests - this is the same as ‘’.<br />

None or ‘’ - run all tests. attribute_identifier - string passed directly to nosetests as<br />

‘-A’.<br />

verbose : int, optional<br />

Verbosity value for test outputs, in the range 1-10. Default is 1.<br />

398 Chapter 3. Reference

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!