Theano/Theano — pull request #583 by lamblin (2012-04-02 17:04:16+00:00)
Title: Fix ops to accept any kind of preallocated output memory

Some will allocate new memory, some will use the one provided, but in any case, the result will be correct.

The code used to detect the problems and ensure they were solved is not in this PR, I'll commit it soon.