My apologies from being away from this for a few days.

Raul wrote:

dwtL=: 1 : 0
:
  'wn yn'=. m dwt y
  wn; (<:x) m dwtL^:(x>1) yn
)

But that might be getting too obscure?

That's really awesome, actually, and conveys well what I was trying to accomplish with code clarity! Thank you very much for the valuable lessons; adverbs are starting to look more friendly now.

I figure keeping the level calculation conceptually separate from the calculation of all the levels is useful in case you want to do asymmetric inverses for filtering purposes. Plus, they're conceptually different things.

Now I must finish the package.

-SL
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to