From: Bill B. <wb...@gm...> - 2006-02-20 06:36:46
|
Upon further inspection I find that if I call 'from scipy import *' then linalg.lu etc are defined. But if I do anything else to import scipy like 'import scipy' or 'import scipy as S' or 'from scipy import linalg', then lu, cg etc are not defined. Why is that? I can get at them without importing * by doing 'from scipy.linalg import lu', but that's kind of odd to have to do that. --bb On 2/20/06, Bill Baxter <wb...@gm...> wrote: > > This url http://www.rexx.com/~dkuhlman/scipy_course_01.html<http://www.re= xx.com/%7Edkuhlman/scipy_course_01.html>seems to keep turning up in my sear= ches for numpy and scipy things, > but many of the linalg operations it lists don't seem to exist in recent > versions of numpy (or scipy). > > Some of them are: > > * norm > * factorizations: lu, lu_factor, lu_solve, qr > * iterative solvers: cg, cgs, gmres etc. > > Did these things used to exist in Numeric but they haven't been ported > over? Will they be re-introduced sometime? > > In the short term, the one I'm after right now is LU decompose and solve > functionality. Anyone have a numpy implementation? > > --Bill Baxter > -- William V. Baxter III OLM Digital Kono Dens Building Rm 302 1-8-8 Wakabayashi Setagaya-ku Tokyo, Japan 154-0023 +81 (3) 3422-3380 |