bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Matrix native function


From: Henrik Moller
Subject: Re: Matrix native function
Date: Sat, 2 Nov 2024 10:15:23 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0

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 ⎕FIO collection.

Looking at your configure.ac, you don't seem to be relying on any external libraries, but mtx links the GNU gsl package and linking the lapack library might be an option.  Would this be a problem?

If you like, I'll port mtx as a ⎕MX extension and send you a patch.

Henrik

On 11/2/24 08:14, Dr. Jürgen Sauermann wrote:
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 ⎕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 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 new version is easier to install. 

A new feature is some massaging of the covariance and eigensystems code to allow principal component analysis of statistical data*--see the README for an example.  That's in addition to the existing capabilities:

Anyway, it's at github.com/ChrisMoller/mtx

* One of my sons is a medical physicist  and one the newer things in that is using PCA to use sampled radiomic data to model the shapes of cancerous regions.  He asked me for the capability, but I have no idea how useful it will be for anyone else.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]