On Wed, Jun 9, 2010 at 1:16 PM, Alan G Isaac <ais...@american.edu> wrote: > On 6/9/2010 12:49 PM, greg whittier wrote: >> Is there a way to do A*A.T without two >> copies of A? > > Does this do what you want? > Alan Isaac >>>> np.tensordot(a,a,axes=(-1,-1))
This seems to suffer from the same problem. A temporary array is being creating somewhere causing a MemoryError. I did learn a new function though! Thanks, Greg _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion