On 20 Aug 2023, at 07:35, Piet de Jong <pietd...@gmail.com> wrote:
> Are there an cgee*.ijs scripts equivalent to dgee*.ijs scripts?
> Or do they have to be crafted from eg their equivalent dgee*.ijs
> counterparts?

Sorry for delay with answer.

J supports double-precision complex numbers ('Z' in LAPACK), not single-
precision ('C'). So, you should look for zgee*.ijs scripts instead.

By the way, a lot of math/lapack2 wrappers are in math/mt addon's test suite. 
In particular, xGEEV family wrappers are in test/lapack2/geev.ijs script:

  mat=. j./ i. 2 3 3  NB. sample matrix
  load 'math/mt'
  load 'math/mt/test/lapack2/geev'
  'w Vl Vr'=. 'vv' zgeev mat  
    NB. 'vv' here is to get both left and right eigenvectors

-- 
Regards,
Igor


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to