Changes

Jump to navigation Jump to search
3 bytes added ,  16:45, 10 June 2024
Line 22: Line 22:  
</pre>
 
</pre>
   −
==# To Index and Extract From Arrays==  
+
====# To Index and Extract From Arrays====
    
  # can be used to index arrays, as below. If the right argument is an array, it will extract all elements represented by the indices on the right. If a multi-dimensional index is required, provide a subarray, such as [[2,3]] instead of [2,3]. To get the length of elements along a particular dimension, use the notation nd (For example, 1d to extract the size along the 1st dimension).  
 
  # can be used to index arrays, as below. If the right argument is an array, it will extract all elements represented by the indices on the right. If a multi-dimensional index is required, provide a subarray, such as [[2,3]] instead of [2,3]. To get the length of elements along a particular dimension, use the notation nd (For example, 1d to extract the size along the 1st dimension).  
2,824

edits

Navigation menu