On Fri, 2019-01-11 at 13:57 +1100, Juan Nunez-Iglesias wrote:
> 
> 
> > On 10 Jan 2019, at 6:35 pm, Todd <toddr...@gmail.com> wrote:
> > 
> > Could this approach be used to deprecate `ravel` and let us just
> > use `flatten`?
> 
> 
> Could we not? `.ravel()` is everywhere and it matches
> `ravel_multi_index` and `unravel_index`.

True, I suppose either of those functions could get such an argument as
well. Just side note `arr.ravel()` is also not quite equivalent to
`arr.reshape(-1)`, since it actually provides some additional
assurances on the result contiguity.

- Sebastian


> _______________________________________________
> NumPy-Discussion mailing list
> NumPy-Discussion@python.org
> https://mail.python.org/mailman/listinfo/numpy-discussion

Attachment: signature.asc
Description: This is a digitally signed message part

_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@python.org
https://mail.python.org/mailman/listinfo/numpy-discussion

Reply via email to