[Numpy-discussion] ANN: FiPy 3.0

2012-08-16 Thread Daniel Wheeler
PDEs. Currently implemented models include phase field treatments of polycrystalline, dendritic, and electrochemical phase transformations as well as a level set treatment of the electrodeposition process. -- Daniel Wheeler ___ NumPy-Discussion mailing

Re: [Numpy-discussion] inverting and calculating eigenvalues for many small matrices

2011-08-16 Thread Daniel Wheeler
On Tue, Aug 16, 2011 at 5:53 AM, David Warde-Farley wrote: > On 2011-08-15, at 4:11 PM, Daniel Wheeler wrote: > >> One thing that I know I'm doing wrong is >> reassigning every sub-matrix to a new array. This may not be that >> costly, but it seems fairly ugly.

Re: [Numpy-discussion] inverting and calculating eigenvalues for many small matrices

2011-08-15 Thread Daniel Wheeler
s > > If you want to go the Cython route, here's a start: > > http://www.vetta.org/2009/09/tokyo-a-cython-blas-wrapper-for-fast-matrix-math/ > > Dag Sverre > ___ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > -- Daniel Wheeler ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion

Re: [Numpy-discussion] inverting and calculating eigenvalues for many small matrices

2011-07-12 Thread Daniel Wheeler
On Tue, Jul 12, 2011 at 11:19 AM, Sturla Molden wrote: > Den 11.07.2011 23:01, skrev Daniel Wheeler: > To make the loop over N matrices fast, there is nothing that beats a > loop in C or Fortran (or Cython) if you have a 3D array. And that brings > us to the second issue, which is t

Re: [Numpy-discussion] inverting and calculating eigenvalues for many small matrices

2011-07-12 Thread Daniel Wheeler
On Tue, Jul 12, 2011 at 10:52 AM, Dag Sverre Seljebotn wrote: > On 07/12/2011 04:10 PM, Daniel Wheeler wrote: >> On Tue, Jul 12, 2011 at 3:51 AM, Dag Sverre Seljebotn >> Thanks for the heads up. Looks like an option. Presumably, it would >> still have to use "map"

Re: [Numpy-discussion] inverting and calculating eigenvalues for many small matrices

2011-07-12 Thread Daniel Wheeler
On Tue, Jul 12, 2011 at 3:51 AM, Dag Sverre Seljebotn wrote: > On 07/11/2011 11:01 PM, Daniel Wheeler wrote: >> Hi, I am trying to find the eigenvalues and eigenvectors as well as >> the inverse for a large number of small matrices. The matrix size > If you want to go the Cyth

[Numpy-discussion] inverting and calculating eigenvalues for many small matrices

2011-07-11 Thread Daniel Wheeler
uot; and "inv". Using "sum" helps too. Given A, calculating "Abar = R E inv(R)" can then simply be written eigenvalues, R = sortedeig(A) E = abs(eigenvalues) * numerix.identity(eigenvalues.shape[0])[..., np.newaxis] Abar = mul(mul(R, E), inv(R)) Maybe there is a be

Re: [Numpy-discussion] PDE BoF at SciPy2009

2009-08-05 Thread Daniel Wheeler
g on this subject. He isn't on this list. He will be there from midday the Wednesday of the conference. Is this BoF still of interest? -- Daniel Wheeler ___ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/

Re: [Numpy-discussion] installation issue with a non-standard location of a python build

2009-07-29 Thread Daniel Wheeler
peau wrote: > On Wed, Jul 29, 2009 at 2:38 AM, Daniel > Wheeler wrote: >> -Wall -Wstrict-prototypes -fPIC >> >> compile options: '-c' >> gcc: _configtest.c >> gcc: error trying to exec 'cc1': execvp: No such file or directory >> gcc: error

Re: [Numpy-discussion] installation issue with a non-standard location of a python build

2009-07-28 Thread Daniel Wheeler
umpy-1.3.0/numpy/distutils/command/build_src.py", line 250, in build_extension_sources sources = self.generate_sources(sources, ext) File "/users/wd15/Documents/python/numpy-1.3.0/numpy/distutils/command/build_src.py", line 307, in generate_sources source = func(extension, bu

[Numpy-discussion] installation issue with a non-standard location of a python build

2009-07-28 Thread Daniel Wheeler
mpiler: gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -fPIC compile options: '-Inumpy/core/src -Inumpy/core/include -I/users/wd15/usr/i686/4.0/include/python2.6 -c' so the build seems to be aware of the include location. Any ideas? Cheers -- Dani

Re: [Numpy-discussion] Efficient operator overloading

2007-04-18 Thread Daniel Wheeler
((var00(i) * var01(i)) + (var10(i) * var11(i)))' Actually, we could and should have been using numexpr to do this. I think numexpr would substantially clean up the code we've developed. Anyway, you can browse variable.py at <http://matdl-osi.org/fipy/browser/trunk/fipy/variables/va

Re: [Numpy-discussion] header file location upon installation

2007-03-26 Thread Daniel Wheeler
On Mar 25, 2007, at 9:44 PM, Robert Kern wrote: For building extensions, either use numpy.distutils, which will take care of everything for you, or use numpy.get_include() to get the directory with headers. get_include() does the trick. Thanks for your help. -- Daniel Wheeler

[Numpy-discussion] header file location upon installation

2007-03-25 Thread Daniel Wheeler
Hi, Should the header files in .../lib/python2.4/site-packages/python/numpy/core/include/ be copied to .../include/python2.4/numpy/ upon installation of numpy? As far as I can tell this is not happening. Just wondering what the default behavior should be. Thanks -- Daniel