On 4/27/07, kamakura <[EMAIL PROTECTED]> wrote:
I am very sorry to annoy you with my problem.

Please do not be sorry.  Without interesting questions, we would
have far less to discuss here.

That said, instead of arraysubtotal, I would instead use:

subtotalarray=: (Idotr {."1) +//. }."[EMAIL PROTECTED]

  0 0.5 (arraysubtotal -: subtotalarray)  array=:|:(/:~(?.10$0)),(?.5 10$10)
1
  0 0.2 0.6 0.8 (arraysubtotal -: subtotalarray)  array
1

I hope this helps, but I fear that my terse presentation here may
not address some concepts which are important for you.

Anyways, please feel welcome to ask more questions.

Thanks,

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

Reply via email to