Hi All,<div><br></div><div>Numpy is somewhat derived from another array library called &#39;Numeric&#39;.  What were originally functions in &#39;Numeric&#39; have been promoted to ndarray methods in numpy.  The implementation of this code in numpy is in <b>numpy/core/fromnumeric.py</b>. The list of functions that were promoted is listed at the end of this email.</div>

<div><br></div><div>However, these functions must be retained for compatibility, but all they should do is call the ndarray method.</div><div>e.g. &quot;numpy.ravel(a)&quot; is just a wrapper which returns &quot;a.ravel()&quot;</div>

<div><br></div><div>I have:</div><div>* copied all docstrings from numpy1.6 numpy/core/fromnumeric.py  into micronumpy/app_numpy.py</div><div>* for methods which we currently have (e.g. max, argmax), I have </div><div>    * made the function just call the relavant method and return the value</div>

<div>    * written a test_fromnumeric_* using the docstring examples</div><div>* for methods which we don&#39;t have I have raised a NotImplemented Error</div><div><br></div><div>I realise that this is a lot of boring boilerplate code &amp; docstrings, but I think it&#39;s to everyone&#39;s advantage to flesh out the micronumpy implementation a bit more so that we can see what has/hasn&#39;t been done. </div>

<div><br></div><div>This will also be useful to newcomers - like me - who can now find obvious functions that need implementation.</div><div><br></div><div>Could someone please review, fix if necessary and commit.</div><div>

Thanks.</div><div>Mike</div><div><br></div><div>======================</div><div><div># __all__ = [&#39;take&#39;, &#39;reshape&#39;, &#39;choose&#39;, &#39;repeat&#39;, &#39;put&#39;,</div><div>#            &#39;swapaxes&#39;, &#39;transpose&#39;, &#39;sort&#39;, &#39;argsort&#39;, &#39;argmax&#39;, &#39;argmin&#39;,</div>

<div>#            &#39;searchsorted&#39;, &#39;alen&#39;,</div><div>#            &#39;resize&#39;, &#39;diagonal&#39;, &#39;trace&#39;, &#39;ravel&#39;, &#39;nonzero&#39;, &#39;shape&#39;,</div><div>#            &#39;compress&#39;, &#39;clip&#39;, &#39;sum&#39;, &#39;product&#39;, &#39;prod&#39;, &#39;sometrue&#39;, &#39;alltrue&#39;,</div>

<div>#            &#39;any&#39;, &#39;all&#39;, &#39;cumsum&#39;, &#39;cumproduct&#39;, &#39;cumprod&#39;, &#39;ptp&#39;, &#39;ndim&#39;,</div><div>#            &#39;rank&#39;, &#39;size&#39;, &#39;around&#39;, &#39;round_&#39;, &#39;mean&#39;, &#39;std&#39;, &#39;var&#39;, &#39;squeeze&#39;,</div>

<div>#            &#39;amax&#39;, &#39;amin&#39;,</div><div>#           ]</div></div>