No subject


Thu Nov 16 16:52:29 CST 2006


res[1,...] would be

    In [108]:dot(md[1,...],mc[1,...])
    Out[108]:
    array([[49, 56, 63],
           [56, 64, 72],
           [63, 72, 81]])

I could do it by explicitly looping over the first dimension (as
suggested by my generic example), but it seems like there should be a
better way by specifying to the dot function the dimensions over which
it should be 'dotting'.

Cheers,

Angus.
-- 
Angus McMorland
email a.mcmorland at auckland.ac.nz
mobile +64-21-155-4906

PhD Student, Neurophysiology / Multiphoton & Confocal Imaging
Physiology, University of Auckland
phone +64-9-3737-599 x89707

Armourer, Auckland University Fencing
Secretary, Fencing North Inc.




More information about the Numpy-discussion mailing list