On Tue, May 3, 2011 at 19:34, Michael Katz <[email protected]> wrote: > Robert, thanks for these quick replies. > > So, it sounds like the main thing is for me to get better at thinking > "declaratively" in terms of these array operations, instead of the > "imperative" way I normally think about processing arrays in C++. > > I did look at Numexpr, and that's in the direction I had in mind. It's not > quite what I was thinking, in terms of being able to use arbitrary if/else > statements and function calls, but it certainly seems to let you at least > express your computations in a natural way without having to worry so much > about the number of temp arrays being created.
Theano does something along those lines. http://deeplearning.net/software/theano/ -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
