*From*: Mehdi Amini <joker.eph@xxxxxxxxx>*To*: pythran@xxxxxxxxxxxxx*Date*: Fri, 05 Sep 2014 08:54:31 -0700

def sqrv(x): Â Â Â Â return x * x I didn't know pythran would produce an element-wise iteration over the whole array from this code.That's valid numpy, nothing specific to Pythran.

Pythran would do only *one* iteration over the array. Mehdi

**References**:**[pythran] dimension-independent functions?***From:*Neal Becker

**[pythran] Re: dimension-independent functions?***From:*serge Guelton

**[pythran] Re: dimension-independent functions?***From:*Neal Becker

**[pythran] Re: dimension-independent functions?***From:*serge Guelton

- » [pythran] dimension-independent functions?- Neal Becker
- » [pythran] Re: dimension-independent functions?- serge Guelton
- » [pythran] Re: dimension-independent functions?- Neal Becker
- » [pythran] Re: dimension-independent functions?- serge Guelton
- » [pythran] Re: dimension-independent functions? - Mehdi Amini