libgsl awkwardness

2024-12-30 Thread Henrik Moller
Building 1808, I got a few errors like: /usr/bin/ld: apl-QR_factorization_GSL.o: in function `GSL::QR_factorize_ZZ_matrix(Value&, int, int, Cell const*)': QR_factorization_GSL.cc:(.text+0x97b): undefined reference to `gsl_linalg_complex_QR_decomp_r' Turned out that ./configure was pi

Re: Quad-PW on macOS

2024-12-21 Thread Henrik Moller
I was last night looking at an X11 alternative, Wayland.  Having started using X when it was still X10 (late 80s?), I agree it's very cool, but the biggest downside is that using it results in a huge amount of net  traffic, something Wayland doesn't do.  Of course, this might or might not have

Re: Rev. 1997, make fails with Quad_MX.cc:

2024-12-10 Thread Henrik Moller
I'll look at the #if apl_GSL stuff Henrik On 12/10/24 15:16, PAUL ROCKWELL wrote: I just downloaded and built SVN 1799  on Fedora 41 x86_64 and this warning did not appear. However I had issues reported by others with a linker failure. I downloaded and installed earlier SVN versions and found

Re: 4 errors generated when compiling Quad_MX,hh

2024-12-02 Thread Henrik Moller
Quad_MX is my code, but the GNU APL code base is Jürgen Sauermann's, so I'm going to leave it to him what to do about this. I've experimented with using "> >" and it works with whatever gcc options Jürgen has baked into the package.   It's his decision. H

Re: Matrix native function

2024-11-29 Thread Henrik Moller
difference in the *Quad_MX.tc* testcase file on my machine, probably caused by rounding errors if the eigenvalues were close to 0. Maybe it makes sense to omit eigenvalues < ⎕CT and their eigenvectors? Best Regards, Jürgen Sauermann On 11/16/24 21:51, Henrik Moller wrote: Hi, Jürgen,

Re: Matrix native function

2024-11-02 Thread Henrik Moller
h f being a function selector or a function name like in ⎕FX and ⎕CR. Best Regards, Jürgen All these functions could be accessed as either ⌹[f]B or as A[f]B On 10/30/24 15:58, Henrik Moller wrote: Earlier this year, I put a native function package, catted "mtx," on GitHub.  I've n

Re: The way to suppress a trailing new line

2024-11-01 Thread Henrik Moller
Try using quote-quad instead of quad:  ∇tryit[⎕]∇    ∇ [0]   tryit [1] [2]   ⍞←'one' [3]   ⍞←'two'    ∇                 tryit onetwo On 11/1/24 02:27, Koki Fushimi wrote: Hi. Is there a way to suppress a trailing new line in the output? ```sh apl --silent --noCIN --noCONT --OFF --noSV

Matrix native function

2024-10-30 Thread Henrik Moller
Earlier this year, I put a native function package, catted "mtx," on GitHub.  I've no idea if anyone is using it, but I just put up a new release.  The biggest change is that the new version uses the GNU gsl library rather than an ad-hoc eigensystems package I used in the first release, so the

Re: APL lambda question

2024-10-25 Thread Henrik Moller
or example: *  MINUS←{ (⍺-⍵)⊣⍎"0"⊢[5≠⎕NC'⍺']"⍺←0" }   5 MINUS 1 4   MINUS 1 ¯1* Best Regards, Jürgen On 10/24/24 18:15, Henrik Moller wrote: Hey, Jürgen, Thanks. This is part of continuing work on the mtx native function thing I put up six months ago, and just fo

Re: APL lambda question

2024-10-25 Thread Henrik Moller
Hey, Jürgen, Thanks. This is part of continuing work on the mtx native function thing I put up six months ago, and just for the sake of consistency, I was trying make all the mtx functions lambdas, but it's no problem to use a ∇ function when I need ambivalence.  (If I'd looked at how you imp

Re: APL lambda question

2024-10-23 Thread Henrik Moller
st for the presence for its left argument (read: ⎕NC lambda = 2).Tour tryit needs to check that before ⍺ is referenced). Best Regards, Jürgen On 10/23/24 16:55, Henrik Moller wrote: To all APLers:  In GNU APL, is there any way to define an ambivalent lambda?  I.e., if you define a lambda

APL lambda question

2024-10-23 Thread Henrik Moller
To all APLers:  In GNU APL, is there any way to define an ambivalent lambda?  I.e., if you define a lambda tryit←{...} is there any way to make it work with both tryit 1 and 1 tryit 2 The Net has been unhelpful... Thanks

Re: multiple assignment

2024-09-22 Thread Henrik Moller
Cool, glad it worked. On 9/22/24 13:03, Ala'a Mohammad wrote: thanks! ./configure --without-gtk3 worked. On Sun, Sep 22, 2024 at 8:02 PM Henrik Moller wrote: For what it's worth, it looks like this might be related to gtk3, but it builds okay under Fedora Linux with GTK3 ins

Re: multiple assignment

2024-09-22 Thread Henrik Moller
For what it's worth, it looks like this might be related to gtk3, but it builds okay under Fedora Linux with GTK3 installed and: ./configure ./configure --without-gtk3 ./configure --with-gtk3 Do you have GTK3 installed?  --with-gtk3 is the default.  Maybe if GTK3 isn't there and it tries to

Re: mail list archive

2024-07-07 Thread Henrik Moller
Mohammad wrote: strange as it is still showing me connection timed out error! On Sun, Jul 7, 2024 at 2:53 AM Henrik Moller wrote: It's working for me. On 7/6/24 18:09, Ala'a Mohammad wrote: hi I'm trying to access the link https://lists.gnu.org/archive/html/bug-apl for several days

Re: mail list archive

2024-07-06 Thread Henrik Moller
It's working for me. On 7/6/24 18:09, Ala'a Mohammad wrote: hi I'm trying to access the link https://lists.gnu.org/archive/html/bug-apl for several days in row without success. this is also for the quick tutorial an info link is this for me only? or something else Regards

More matrix ops native functions

2024-05-20 Thread Henrik Moller
Added eigenvectors/eigenvalues, vector internal angle calculation, and identity matrix generation. For those of you who might be into graphics, openGL rotation, instead of using decomposed Euler angles or Tait–Bryan angles, use a scalar angle and a rotation axis.  That's why mtx supports the m

Matrix ops native functions

2024-05-14 Thread Henrik Moller
I do a lot of stuff with matrices and it occurred to me a couple of days ago to start packaging some of them as gnu APL native functions I don't think are built into the present release.  (I could be wrong about that, but neither the documentation nor grep mention anything that might be relevan