SHARE
TWEET

Untitled

a guest Dec 28th, 2015 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. I want to index a multi-dimensional vector, for example
  3.  
  4. let v = [[1 2 3]
  5.          [4 5 6]]
  6.  
  7. to do this currently i would need to ((v ind1) ind 2) etc... depending on the actual dimension
  8. is there a way to make it so i can just do (v ind1 ind2 ...) or is there a function that makes indexing easier?
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top