We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It would be quite nice to handle be able to fit an existing slice into an larger one (for sliced). Have a look at this example from NumPy:
sliced
>>> b = np.array([[0, 1], [2, 3]]) >>> b.resize(2, 3) # new_shape parameter doesn't have to be a tuple >>> b array([[0, 1, 2], [3, 0, 0]])
I imagine sth. like this:
iota(4).sliced!Yes.allowUpsize(2, 3)
(but be aware of the flag "hell" - see #18)
The text was updated successfully, but these errors were encountered:
This kind of functions may allocate. So they are for the future allocation module
Sorry, something went wrong.
This concept is not valied for ndslice. It may be replaced with concatenation or slicing.
No branches or pull requests
It would be quite nice to handle be able to fit an existing slice into an larger one (for
sliced
).Have a look at this example from NumPy:
I imagine sth. like this:
(but be aware of the flag "hell" - see #18)
The text was updated successfully, but these errors were encountered: