Lapack2 contains api protocols for all 4 cases, single and double precision real single and double precision complex the signature of single precision in cd is "s"
J doesn't natively support single precision complex so that there will be automatic conversion when calling functions involving single precision complex arguments. On Fri, 1 Sep 2023 at 1:02 PM Igor Zhuravlov <zhuravlov...@ya.ru> wrote: > 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 > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm