Changes

Jump to navigation Jump to search
15 bytes added ,  03:13, 13 June 2024
Line 24: Line 24:  
====# 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).  
+
Hash Operator (#) 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).  
    
<pre>
 
<pre>
2,824

edits

Navigation menu