On Wed, Mar 17, 2010 at 2:34 AM, Chris Barber <[email protected]> wrote: > padB =. {."1&B@:-@:# > > mu_W =: ,((padB mu)&(+/ .*)^:(i. L)) mu > > s11 =. [ > s12 =. padB@:[ (+/ .*) [ > s21 =. |:@:s12 > s22 =. ] + ((padB@:[ (+/ .*) [) (+/ .*) |:@:padB@:[) > absorbNode =: ((s11 , s12) ,. (s21 , s22)) f. > sigma_W =: absorbNode&Q^:(L-1) Q
I do not know if this will help, but in my experience, code becomes much easier to understand when we know its domain. (Or when we have sample data.) I can try guessing, here, (this looks like matrix oriented code and absorbNode probably creates a 2x2 matrix), but experiments could add useful insights. Thank you, -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
