[Numpy-discussion] can't find doc for as_strided

Ralf Gommers ralf.gommers at googlemail.com
Fri Apr 1 15:41:54 EDT 2011

On Fri, Apr 1, 2011 at 3:18 PM, Neal Becker <ndbecker2 at gmail.com> wrote:
> Visiting http://docs.scipy.org/doc/numpy/reference/, as search for
> as_strided
> or
> stride_tricks
> shows nothing (useful).

That's because as_strided is not exposed. It's a private function (see
commit f912322e) used in broadcast_arrays, which is there:

> For that matter, I don't see a reference to numpy.lib.

Things in numpy.lib that are not private are available in the numpy
namespace (see numpy.lib.function_base.histogram in the doc wiki vs.
numpy.histogram in the reference guide).


More information about the NumPy-Discussion mailing list