On 7/7/06, Bill Baxter <[EMAIL PROTECTED]> wrote:
<snip>
I would like to write something like:
A = D.copy().times(-2).plus(C).plus(B)
i.e. copy produces a "register", the rest is reverse Polish, and = "stores" the result.
Chuck
On 7/7/06, Tim Hochberg <[EMAIL PROTECTED]> wrote:> The funny thing is that having a dot(a,b,c,...) would lead to the
> exact same kind of hidden performance problems you're arguing against.
Not exactly arguing -- this isn't why I don't like H and friends -- just
noting that this is one of the traps that people are likely to fall into
when transferring equations to code.
<snip>
A = D
A *= -2
A += C
A += B
I would like to write something like:
A = D.copy().times(-2).plus(C).plus(B)
i.e. copy produces a "register", the rest is reverse Polish, and = "stores" the result.
Chuck
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
_______________________________________________ Numpy-discussion mailing list Numpy-discussion@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/numpy-discussion