Hi folks,
I was compiling some extensions for 32-bit python 2.5 on windows using a 64
bit gcc compiler (4.5.1). After a bit of head scratching it seems that I
needed to patch numpy/distutils/mingw32ccompiler.py to add the following
flags around where it says set_executables:
-m32 -static-libgcc
Manuel Metz wrote:
are there any plans to implement a routine to solve the generalized
eigenvector problem as is done in matlab ?
see http://www.mathworks.com/access/helpdesk/help/techdoc/ref/eig.html
import numpy
help(numpy.linalg.eig)
Is it what you wanted?
HTH,
Jon
Dan Yamins wrote:
On Wed, Jun 4, 2008 at 9:06 PM, Charles R Harris
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:
Are both python and your version of OS X fully 64 bits?
I'm not sure.
From python:
python2.5 -c 'import platform;print platform.architecture()'
('32bit', 'ELF')
This one comes up in a Java puzzler, but applies equally to numpy.
http://www.youtube.com/watch?v=wDN_EYUvUq0
import numpy, sys
abs(numpy.array([-sys.maxint-1],numpy.int)) 0
array([False], dtype=bool)
abs(numpy.array([-129,-128,-127],numpy.int8)) 0
array([ True, False, True],
Joe Harrington wrote:
NUMPY/SCIPY DOCUMENTATION MARATHON 2008
On the wiki it says: Writers should be fluent in English
In case someone is working on the dynamic docstring magic, is this a
good moment to mention internationalisation and world domination in
the same sentence?
-Jon
Anne Archibald wrote:
2008/5/9 Eric Firing [EMAIL PROTECTED]:
It seems like some strategic re-thinking may be needed in the long run,
if not immediately.
I think in principle the right answer is to simply run whatever
underlying function, and mask any NaNs or Infs in the output.
Did
Timothy Hochberg wrote:
+0
My personal opinion is that current matrix class is pretty useless and
the change won't help much from my point of view. My preference would
be to leave the matrix class alone, design a new matrix class, with a
different name, for 1.2 and then deprecate the old
Anne Archibald wrote:
2008/5/7 Pierre GM [EMAIL PROTECTED]:
All,
Yes, there is a problem with ma.power: masking negative data should be
restricted to the case of an exponent between -1. and 1. only, don't you
think ?
No, there's a problem with any fractional exponent (with even