equal
deleted
inserted
replaced
14 .. Prerequisites |
14 .. Prerequisites |
15 .. ------------- |
15 .. ------------- |
16 |
16 |
17 .. 1. getting started with arrays |
17 .. 1. getting started with arrays |
18 |
18 |
19 |
19 .. #[anand: internal reviewer not mentioned] |
20 .. Author : Puneeth |
20 .. Author : Puneeth |
21 Internal Reviewer : |
21 Internal Reviewer : |
22 External Reviewer : |
22 External Reviewer : |
|
23 Language Reviewer : Bhanukiran |
23 Checklist OK? : <put date stamp here, if OK> [2010-10-05] |
24 Checklist OK? : <put date stamp here, if OK> [2010-10-05] |
24 |
25 |
25 Script |
26 Script |
26 ------ |
27 ------ |
27 |
28 |
221 |
222 |
222 C[0:3, 2] |
223 C[0:3, 2] |
223 |
224 |
224 to get the elements of rows indexed from 0 to 3, 3 not included |
225 to get the elements of rows indexed from 0 to 3, 3 not included |
225 and column indexed 2. Note that, the index before the colon is |
226 and column indexed 2. Note that, the index before the colon is |
226 included and the index after it is not included, in the slice that |
227 included and the index after it is not included in the slice that |
227 we have obtained. This is very similar to the ``range`` function, |
228 we have obtained. This is very similar to the ``range`` function, |
228 where ``range`` returns a list, in which the upper limit or stop |
229 where ``range`` returns a list, in which the upper limit or stop |
229 value is not included. |
230 value is not included. |
230 |
231 |
231 Now, if we wish to access the elements of row with index 2, and in |
232 Now, if we wish to access the elements of row with index 2, and in |