Vector.firstIter

Returns an iterator pointing to the first element.

Arguments

None

Return values

iterator
pointing to the first element.

Complexity

Constant

Example

"sl/algebra" useFile v1: (1.0 2.0 3.0) makeVector; it: v1.firstIter; [ it v1.endIter = ~ ] [ it.get print "," print it.next !it ] while
Output:
1.000000,2.000000,3.000000,