Changes to bools under Numexpr
Ivan Vilata i Balaguer
ivilata at carabos.com
Sun Oct 29 04:15:49 EST 2006
En/na Colin J. Williams ha escrit::
> I'm afraid I'm still baffled. Are you saying that your proposal is
> necessary
> to preserve compatibility with Python versions before 2.3? Otherwise, it
> appears
> to introduce clutter with no clear benefit.
>
> I don't find Numexpr in NumPy, are you referring to a scipy module?
From http://www.scipy.org/SciPyPackages/NumExpr:
The scipy.sandbox.numexpr package supplies routines for the fast
evaluation of array expressions elementwise by using a vector-based
virtual machine. It's comparable to scipy.weave.blitz (in Weave),
but doesn't require a separate compile step of C or C++ code.
If your SciPy package doesn't include it, you can get a checkout from
the repository::
$ svn co http://svn.scipy.org/svn/scipy/trunk/Lib/sandbox/numexpr
Numexpr is not usable under Python <= 2.4 since it uses decorators (and
maybe for other reasons), so my proposal clearly hasn't the intention on
Python 2.3 compatibility. Instead, it is a simplification of Numexpr's
type system by stricter boolean types.
I suggest that you try Numexpr. It is a great piece of software. Cheers,
::
Ivan Vilata i Balaguer >qo< http://www.carabos.com/
Cárabos Coop. V. V V Enjoy Data
""
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 309 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20061029/5f6efe8e/attachment.sig>
-------------- next part --------------
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
-------------- next part --------------
_______________________________________________
Numpy-discussion mailing list
Numpy-discussion at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/numpy-discussion
More information about the NumPy-Discussion
mailing list