I had a definition of factors available for reuse. Yes, I realized it was needlessly sorted. I will include this definition into my j arsenal.
> Date: Sat, 20 Apr 2013 09:37:39 -0400 > From: Raul Miller <[email protected]> > To: Programming forum <[email protected]> > Subject: Re: [Jprogramming] more RC > Message-ID: > <CAD2jOU8d0TnS1jn=JVBLV5WPFjRarmr+DF2 > [email protected]> > Content-Type: text/plain; charset=UTF-8 > > I took a quick look... > > I'd be tempted to write factors more like this: > > odometer =: #: i.@(*/) > factors=: (*/@:^"1 odometer@:>:)/@q:~&__ > > odometer is from the J wiki. > > If the original argument was accurate there is no need to force > factors to be extended precision. Another issue is that I am more > comfortable grouping the operations this way. Also, why bother > sorting? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
