all Fortran functions are called by reference and passed as array from J.

there is a file dpotrf.ijs in the test folder of the addon.


On Wed, Jan 27, 2021, 9:46 PM 'Jon Hough' via Programming <
[email protected]> wrote:

> Hi,
>
> I am looking through the new Lapack library (Lapack2)
> https://code.jsoftware.com/wiki/Vocabulary/LAPACK
>
> I followed the example on that page and it worked fine (QR factorization).
>
> Now I want to use Cholesky Decomposition (
> http://www.netlib.org/lapack/explore-html/d6/daf/a18565_ga2f55f604a6003d03b5cd4a0adcfb74d6.html
> )
>
> The signature of which is
> NB. dpotrf      n *c *i *d *i *i
>
>
>
>  M=: 3 3 $ 2 _1 0 _1 2 _1 0 _1 2 NB. 3x3 ppositive-definite matrix
> dpotrf_jlapack2_'U';3;(M);3;_1
>
> This give s domain error
> |domain error: cd
>
> Any help appreciated on using this lapack function.
>
> Regards,
> Jon
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to