[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
5.6 Coherent syntax
Indexing other things than variables is possible, as in:
octave:1> [3 1 4 1 5 9](3) ans = 4 octave:2> cos([0 pi pi/4 7])(3) ans = 0.70711 |
|
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Indexing other things than variables is possible, as in:
octave:1> [3 1 4 1 5 9](3) ans = 4 octave:2> cos([0 pi pi/4 7])(3) ans = 0.70711 |
© manpagez.com 2000-2024 Individual documents may contain additional copyright information.