Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I want to index a multi-dimensional vector, for example
- let v = [[1 2 3]
- [4 5 6]]
- to do this currently i would need to ((v ind1) ind 2) etc... depending on the actual dimension
- is there a way to make it so i can just do (v ind1 ind2 ...) or is there a function that makes indexing easier?
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement