I did suggest a rankselect and rankamend function to the lead developer. AF has either a max 3 or 4 dimensions on its arrays. Its column (wrong) major.
http://www.arrayfire.com/docs/indexing.htm to get rows 0 and 1 from a 2d array, you would call with 0 1;(seq 0 _1). For columns 1 and 2, call (seq 0 _1);1 2. One problem though is that the name of the function to call is 'operator()' . Is such a name bindable in J? ----- Original Message ----- From: Raul Miller <[email protected]> To: Programming forum <[email protected]> Cc: Sent: Sunday, September 20, 2015 11:28 PM Subject: Re: [Jprogramming] Arrayfire (OpenCl/Cuda Blas Boost) One step at a time... (But if it was mostly ready, I guess talk with the ISI folk about getting it the rest of the way?) -- Raul On Sun, Sep 20, 2015 at 11:26 PM, Henry Rich <[email protected]> wrote: > Fun. And very important to the future of J. > > But if you do something great, how do you get it into the official > distribution? > > Henry Rich > > On 9/20/2015 11:22 PM, Raul Miller wrote: >> >> I don't think anyone has been working on this. >> >> Note also that J's arrays are built on a C infrastructure where a pair >> of one dimensional arrays (shape and data) represent an arbitrary >> dimensioned J array. >> >> That said... how hard do you think it would be to implement the rank >> conjunction? (Rank might be better thought of as using two dimensions >> for the underlying data - frame and cells.) >> >> Anyways, it sounds like a fun project... >> >> Thanks, >> > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
