If you're interested in the "integer partion" problem in general, Howard
Peelle has J'ed it extensively:
http://www.jsoftware.com/jwiki/DevonMcCormick/HAP_AIP?highlight=%28AIP%29 .

On Fri, May 8, 2015 at 4:58 PM, R.E. Boss <[email protected]> wrote:

> > REB wrote:
> > >  V=: Q*(%+/) 2 rnd N ?@# 0
> >
> > This looks promising.  What's rnd here?
>
> round on x decimals
>
>    rnd
> +-+-+------------------------+
> |3|:| 2 rnd y                |
> | | |:                       |
> | | | t %~ <. 0.5+ y* t=.10^x|
> +-+-+------------------------+
>
>
> R.E. Boss
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Devon McCormick, CFA
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to