Closed dlwh closed 10 months ago
I was taking a look at this and wrote up a simple implementation that just calls flatten_axes. However I saw this comment in the code which seems to have a different type signature
TODO: implement ravel. Can only do if we either ask for an axis or add ProductAxis or something
def ravel(self, order='C') -> Any:
Which should the method follow? And should there be support for the optional order argument?
don't worry about that old todo. I had a very different vision early on in Haliax and that was what I was thinking at the time.
Thanks!
Fixed in #33 . Thanks @rohan-mehta-1024 !
Pretty sure the syntax should be