Closed idontgetoutmuch closed 7 years ago
The underscore is the suffix of the fortran function names when they are used from C.
In principle I have no plans to add full support for triangular matrices but any specific function will be welcome. I hope the needed code will be similar to the existing one. I don't have much time at the moment for low level lapack programming but let me know if you get stuck.
Thanks - I have it working on my machine and have created a PR.
I have a triangular matrix so it seems one ought to be able to use
dtrtrs
rather thandgetrs
but it's not clear how to add this.I can see
in
LAPACK.hs
so I look for a C functionlus_l_R
.I can see
in
lapack-aux.c
which ultimately callswhich I believe is in LAPACK itself (but why the underscore at the end?).
So do I need to create a function similar to
lus_l_R
? And if so what should I call it?Any other help or tips would be gratefully received.
Actually I think I can copy the code for symmetric positive definite real linear systems. I will continue and cry for help when I get stuck.