[NumPy-Tickets] [NumPy] #2027: einsum/iterator bug

NumPy Trac numpy-tickets@scipy....
Sat Jan 21 20:41:34 CST 2012


#2027: einsum/iterator bug
-------------------------+--------------------------------------------------
  Reporter:  mwiebe      |       Owner:  somebody
      Type:  defect      |      Status:  closed  
  Priority:  high        |   Milestone:  1.7.0   
 Component:  numpy.core  |     Version:  1.6.1   
Resolution:  fixed       |    Keywords:          
-------------------------+--------------------------------------------------

Comment(by charris):

 Ah, good. Seems to have fixed this issue I was having also:


 {{{
     vx = polyvander(x, degx)
     vy = polyvander(y, degy)
     vz = polyvander(z, degz)
     #v = vx[..., None, None]*vy[..., None, :, None]*vz[..., None, None, :]
     #einsum bug
     v = np.einsum("...i, ...j, ...k->...ijk", vx, vy, vz)

 }}}

-- 
Ticket URL: <http://projects.scipy.org/numpy/ticket/2027#comment:3>
NumPy <http://projects.scipy.org/numpy>
My example project


More information about the NumPy-Tickets mailing list