Question: How does this function

How does this  function  work:

rtable_scanblock( M, [rtable_dims(M)],

    (val,ind,res) -> `if`(val > res[2],[ind,val],res),

    [[1,1],-infinity]);

 

Please could comment on each statement.


Taken from  http://www.mapleprimes.com/questions/131889-Finding-A-Max-In-A-3d-Plot#comment131997

Gracias

Please Wait...