| Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
| Version 1.9 Build 1383 |
|
| Package | general | |
| Module | quanta |
| v | in | a record array from which to extract elements | |
| Allowed: | record (array) | ||
| ... | in | slicing dimensions | |
| Allowed: | integers, an index record, integer vectors | ||
- print a := r_array(1:6,3,2) # create a record array
[*29=1, *30=2, *31=3, *32=4, *33=5, *34=6]
- r_index(a) # its index
[[1:3,]
1 4
2 5
3 6]
- r_index(a):: # its shape
[shape=[3 2] ]
- r_index(a,2,)
[2 5]
- r_index(a,2,)::
[shape=2]
- r_index(a,2,2)
5
- r_index(a,2,2)::
[=]