Thanks .to Jon Hough for the link to priority queues.  I had a look.  I doubt 
they're directly relevant as a moving median needs to be able to remove a 
particular element rather than that chosen by the remove method used there -  
if I understand it right.  However,  it does show how to set up a more 
complicated object together with housekeeping methods to maintain and update 
it.   

Mike

Please reply to [email protected].      
Sent from my iPad
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to