Re: Matrix native function

2024-11-29 Thread Henrik Moller
Hey Jürgen, Great!  I'll take a look at the deltas, and tinker with the eigens testcases. (I wrote my first line of C about 40 years ago when K&R style was the /only/ style, and that's baked into my brain and my .emacs file.  I tried to get more moderm with Quad_MX, but ancient habits are ha

Re: Matrix native function

2024-11-29 Thread Dr . Jürgen Sauermann
Hi Henrik, thanks a lot for contributing ⎕MX. It is now included in *SVN 1786*. I made a few changes to adapt it to the GNU APL coding style. Please double-check if everything went OK. I noticed a minor difference in the *Quad_MX.tc* testcase file on my machine, probably caused by rounding err

Re: Matrix native function

2024-11-02 Thread Dr . Jürgen Sauermann
Hi Henrik, thanks, see below. On 11/2/24 15:15, Henrik Moller wrote: Your call, of course, but something like ⎕MX[f] might be useful. Also a possibility. My thinking about ⌹ as opposed to e,g, ⎕MX (or ⎕GSL as a reference to the GNU libray ?) was that currently ⌹ contains all linear-algebra rel

Re: Matrix native function

2024-11-02 Thread Henrik Moller
Your call, of course, but something like ⎕MX[f] might be useful.  The functions I've included in mtx are ones I've found useful for doing 3D modelling, animation, and similar things, but there are lots of others that might be worth considering and that could be added as necessary, a kind of ⎕FI

Re: Matrix native function

2024-11-02 Thread Dr . Jürgen Sauermann
Hi Hendrik, I am wondering if it may make sense to make those functions built-ins? As of today only QR-factorization is built-in but I always felt that that may be too little (at least if compared to packages like e.g. LApack), with f being a function selector or a function name like in ⎕FX and

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