I was worried about the parentheses being part of the 'operator()' name, but I found this page which has accessible versions:
http://www.arrayfire.com/docs/group__index__func__index.htm It also looks like their span "keyword" could be a null parameter. ----- Original Message ----- From: Raul Miller <rauldmil...@gmail.com> To: Programming forum <programm...@jsoftware.com> Cc: Sent: Monday, September 21, 2015 1:13 AM Subject: Re: [Jprogramming] Arrayfire (OpenCl/Cuda Blas Boost) Well, I guess we only really need 1 or 2 dimensions from AF, so maybe that's no big deal. And we get to decide what we call a row and what we call a column. Meanwhile, http://www.jsoftware.com/help/user/lib_dll.htm http://www.jsoftware.com/papers/jfe.htm require'dll' cdcb 15!:13 The dll callback lab in J602 explains the basic concepts. I presume it still works in J804, but someone needs to port the lab, I guess. (Speaking of which, I've got a different lab I need to finish up, also.) Thanks, -- Raul On Mon, Sep 21, 2015 at 12:47 AM, 'Pascal Jasmin' via Programming <programm...@jsoftware.com> wrote: > 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 <rauldmil...@gmail.com> > To: Programming forum <programm...@jsoftware.com> > 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 <henryhr...@gmail.com> 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 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm