Re: [Jprogramming] arrayfire addon updated

2022-02-28 Thread greg heil
f16 in AVX? ~greg heil picsrp.github.io i.tgu.ca/real_cal -- from: Eric Iverson date: Feb 28, 2022, 10:36 AM subject: [Jprogramming] arrayfire addon updated arrayfire addon updated with minor fixes >Main change is matmul now has wrappers for best performance for either f64 or >f32 (avoids ex

Re: [Jprogramming] Is a +/ operation interruptible

2022-02-28 Thread Henry Rich
That missing file is an addon.  It should be shipped with the system, but perhaps Ian didn't pick it up.  I think you should be able to get it by updating all your addons. Henry Rich On 2/28/2022 2:07 PM, Richard Donovan wrote: Thanks Julian, Unfortunately Fold doesn’t seem to have made it t

Re: [Jprogramming] Is a +/ operation interruptible

2022-02-28 Thread Richard Donovan
Thanks Julian, Unfortunately Fold doesn’t seem to have made it to the iOS platform yet. 5 f0 i.4 not found: /private/var/mobile/Containers/Data/Application/84605E1E-B9BA-4FE7-8FFA-1C6C5C0A29E0/Documents/j/addons/dev/fold/foldr.ijs |nonce error: f0 | 0 x&{{y[1 Z: y > x}}F..+y load 'fold

Re: [Jprogramming] Is a +/ operation interruptible

2022-02-28 Thread Julian Fondren
You can use Fold and the related Z: (Terminate Fold) 0 {{ y[1 Z: y > 10 }} F.. + 1 5 6 16 12 0 {{ y[1 Z: y > 10 }} F:. + 1 5 6 16 1 6 12 analogous to +/ and +/\ with the argument shortened to where the sum exceeds 10: +/1 5 6 12 +/\1 5 6 1 6 12 as a verb: f0 =: {{ 0 x&{{ y[1 Z:

[Jprogramming] Which is "better"...

2022-02-28 Thread Richard Donovan
 ...whatever “better” means! The result of the be Sent from Mail for Windows -- For information about J forums see http://www.jsoftware.com/forums.htm

[Jprogramming] Is a +/ operation interruptible

2022-02-28 Thread Richard Donovan
I hope someone can enlighten me… If I have a list of numbers, how can I write a verb which will can perform a cumulative sum +/\ which will stop when a target sum is reached? For example, is the list contains 1,5,6,16… I wish to find at what position the cumulative sum exceeds 10. I feel that w

[Jprogramming] arrayfire addon updated

2022-02-28 Thread Eric Iverson
arrayfire addon updated with minor fixes Main change is matmul now has wrappersfor best performance for either f64 or f32 (avoids expensive conversion of row major to column major with square matrices by using matmul transpose flag). Get started: load '~addons/math/arrayfire/arrayfire.ijs' ...