p:

11 views
Skip to first unread message

P Padil

unread,
Apr 25, 2024, 4:32:26 PMApr 25
to fo...@jsoftware.com
Was experimenting with the subject primitive (p:). Noted that for most x arguments it accepts an array for the y argument, except for _4. Was wondering why the restriction for _4? (I couldn’t get it to work with “(1 0) or _4&p:”0 etc., but perhaps I also missed the memo on this one.)

Regards
Pete

Engine: j9.6.0-beta5/j64arm/darwin
Build: commercial/2024-04-11T16:58:49/clang-14-0-0/SLEEF=1
Library: 9.6.5
Platform: Darwin 64
Installer: j9.6 install

Raul Miller

unread,
Apr 25, 2024, 4:35:45 PMApr 25
to fo...@jsoftware.com
I'm note quite sure what you're seeing:

_4 p: 10+i.10
7 7 11 11 13 13 13 13 17 17

--
Raul
> To unsubscribe from this group and stop receiving emails from it, send an email to forum+un...@jsoftware.com.
>

Michael Day

unread,
Apr 25, 2024, 4:47:01 PMApr 25
to fo...@jsoftware.com
OK for me, too, under Windows 11.

JVERSION
Engine: j9.6.0-beta5/j64avx2/windows
Build: commercial/2024-04-11T17:02:24/clang-16-0-6/SLEEF=1
Library: 9.6.5
Qt IDE: 2.5.2/6.5.3(6.5.3)
OS Ver: Windows 11 Version 22H2 10.0.22621
Platform: Win 64
Installer: j9.6 install
InstallPath: c:/d/j9.6
Contact: www.jsoftware.com
   
   4 p: 10 11 12 13
11 13 13 17
   _4 p: 10 11 12 13
7 7 11 11
  
Mike

P Padil

unread,
Apr 25, 2024, 4:50:44 PMApr 25
to fo...@jsoftware.com
I found it - duh - the vectors my code generated have a 2 or lower number and, of course, there is no prime less than 2, so an error was appropriate for the _4 while the others will work. My bad. Thanks.
Reply all
Reply to author
Forward
0 new messages