sparse.linalg.isolve.tests.test_lsmr

Copyright (C) 2010 David Fong and Michael Saunders Distributed under the same license as Scipy

Testing Code for LSMR.

03 Jun 2010: First version release with lsmr.py

David Chin-lung Fong clfong@stanford.edu Institute for Computational and Mathematical Engineering Stanford University

Michael Saunders saunders@stanford.edu Systems Optimization Laboratory Dept of MS&E, Stanford University.

Module Contents

Functions

lowerBidiagonalMatrix(m,n)
lsmrtest(m,n,damp) Verbose testing of lsmr
class TestLSMR
setup_method()
assertCompatibleSystem(A, xtrue)
testIdentityACase1()
testIdentityACase2()
testIdentityACase3()
testBidiagonalA()
testScalarB()
testColumnB()
testInitialization()
class TestLSMRReturns
setup_method()
testNormr()
testNormar()
testNormx()
lowerBidiagonalMatrix(m, n)
lsmrtest(m, n, damp)

Verbose testing of lsmr