Next: , Previous: Copying, Up: Operations


4.3.3 Iterate

Extensions to the iterate system are provided. The following for clause iterators are defined:

For example,
     (defparameter m1 #m(1 2 3 ^ 0 6 8))
     (iter:iter (iter:for e :matrix-element m1) (princ e) (princ " "))
     1.0 2.0 3.0 0.0 0.0 6.0 8.0

The definitions are in the grid-iterate-extension extension system which will automatically load if asdf-system-connnections, iterate, and the Antik system are loaded.