Hello,
I just spent a few minutes on figuring out how to use map-n-grids as there are no examples in the distribution or documentation.
Here is one example, here is one that accomplishes the following (in pseudo-code):
(map 'grid #'(lambda (x1 x2) (- x1 x2)) grid1 grid2)
(map-n-grids :sources `((,*array-3-4-double-float* ,(affi *array-3-4-double-float*))
(,*array-3-4-double-float* ,(affi *array-3-4-double-float*)))
:combination-function #'(lambda (i x1 x2)
(print i)
(- x1 x2)))
In this example, I am not sure of the role of the first variable (I did not have more time to stare at map.list)
Mirko