Math.Eigen not working in Dyalog APL 18.2 and 19.0

APL-related discussions - a stream of APL consciousness.
Not sure where to start a discussion ? Here's the place to be
Forum rules
This forum is for discussing APL-related issues. If you think that the subject is off-topic, then the Chat forum is probably a better place for your thoughts !

Math.Eigen not working in Dyalog APL 18.2 and 19.0

Postby KamakaniKing on Mon Sep 16, 2024 7:46 pm

Is anyone else having issues with the Math.Eigen function from the Tools Library? The example code below works in version 18.0, but gives the following error in 18.2 and 19.0:
      ⍎SYNTAX ERROR: Invalid Keyword: ":"
Call[0] ***ERROR 102 : ⎕NA'lapack64|dgeev_ <C1 <C1 <I4 =F8[] <I4 >F8[] >F8[] >I4 <I4 >F8[] <I4 >F8[] <I4 >I4'


Example code to test this:
      ⎕FIX'file://C:/Program Files/Dyalog/Dyalog APL-64 19.0 Unicode/Math.dyalog' ⍝ load Math Library
v1←10|3×(¯1+⍳10)
u1←v1⌽10 10⍴1,9⍴0
Math.Eigen u1
KamakaniKing
 
Posts: 18
Joined: Thu Mar 25, 2021 8:06 pm

Re: Math.Eigen not working in Dyalog APL 18.2 and 19.0

Postby Vince|Dyalog on Tue Sep 17, 2024 8:51 am

Hi KamakaniKing,

I think that you do not have the Math dlls in your 19.0 directory.

Please copy fftw64.dll and lapack64.dll from your 18.0 install directory to your 19.0 directory.

I think it will work then.

To test, I removed these dlls from all directories on my system path. I could then reproduce your problem. I fixed it by bringing back the DLLs.

FYI, for anyone else reading this thread, the DLLs can be found in:
https://github.com/Dyalog/Math/releases

Regards,

Vince
Vince|Dyalog
 
Posts: 432
Joined: Wed Oct 01, 2008 9:39 am

Re: Math.Eigen not working in Dyalog APL 18.2 and 19.0

Postby KamakaniKing on Tue Sep 17, 2024 3:30 pm

Vince - Thanks! That was the problem. All is working fine now.
KamakaniKing
 
Posts: 18
Joined: Thu Mar 25, 2021 8:06 pm


Return to APL Chat

Who is online

Users browsing this forum: No registered users and 1 guest