Upon further inspection I find that if I call 'from scipy import *' then <a href="http://linalg.lu">linalg.lu</a> etc are defined.<br>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.
<br><br>Why is that? <br><br>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.<br><br>--bb<br><br><div><span class="gmail_quote">On 2/20/06, <b class="gmail_sendername">
Bill Baxter</b> <<a href="mailto:email@example.com">firstname.lastname@example.org</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
This url <a href="http://www.rexx.com/%7Edkuhlman/scipy_course_01.html" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.rexx.com/~dkuhlman/scipy_course_01.html</a> seems to
keep turning up in my searches for numpy and scipy things,<br>
but many of the linalg operations it lists don't seem to exist in recent versions of numpy (or scipy). <br><br>Some of them are:<br>
* norm<br>* factorizations: lu, lu_factor, lu_solve, qr<br>* iterative solvers: cg, cgs, gmres etc.<br><br clear="all">Did these things used to exist in Numeric but they haven't been ported over? Will they be re-introduced sometime?
<br><br>In the short term, the one I'm after right now is LU decompose and solve functionality. Anyone have a numpy implementation?<br><span class="sg"><br>--Bill Baxter<br>
</span></blockquote></div><br><br clear="all"><br>-- <br>William V. Baxter III<br>OLM Digital<br>Kono Dens Building Rm 302<br>1-8-8 Wakabayashi Setagaya-ku<br>Tokyo, Japan 154-0023<br>+81 (3) 3422-3380