title: Get array which is the result of invoking a function on each element of an object array
body: <p>What are my options for getting an array that is the result of invoking a function
  on each element of a given (object) array?</p>
  
  <p>What I do now is:</p>
  
  <pre><code>object_array # an array whose elements are objects
  result_array=scipy.reshape( [o.f() for o in object_array.flat], object_array.shape )
  </code></pre>
  
  <p>My case is analogous to having <code>object_array[i,j]</code> be an instance of <code>scipy.stats.norm</code>, where the parameters of the distributions are different for different elements.
  and <code>scipy.stats.norm.rvs()</code> is the <code>f()</code> that I want to call.  Note that the size of <code>object_array</code> may be quite large (up to about 1000x1000) so I'm concerned that this is sub-optimal in that I'm making at least one copy of the results when I call <code>reshape</code>.</p>