Theano/Theano — pull request #562 by lamblin (2012-03-23 18:04:43+00:00)
Title: Checks for preallocated output memory, take 2

This PR supersedes gh-546, it is basically just a rebase on the latest central/master.
I made a new PR to avoid losing the reviews.