Ls, I need to evaluate gn =: f^:n (g0) where g0 is an gray-level image. f is a recurrent relation g(n+1)=f(g(n)) but needs the iteration count, one out of 0..n-1, for indexing in a global array. I managed to do this by f^:n (g0,0) and splitting the argument in an image and index by 'state index'=.y. and construct at the end (f state);>:index but this is not elegant. How do I this the right way? Jan.
This message and attachment(s) are intended solely for use by the addressee and may contain information that is privileged, confidential or otherwise exempt from disclosure under applicable law. If you are not the intended recipient or agent thereof responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by telephone and with a 'reply' message. Thank you for your co-operation. ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
