
21 Jun
2010
21 Jun
'10
5:40 p.m.
David Abrahams wrote:
Ouch. Are all those matrices and vectors actually open for modification, though? I'd bet you dollars to donuts that most of the parameters are never modified, and we're just looking at a very naive translation of a const-less FORTRAN or C interface.
The code generator actually reads the documentation of the blas/lapack routine to find out which parameters are input and which are output parameters. In the case of "ggevx", there are really 15 output parameters: <http://www.netlib.org/lapack/explore-html/sggevx.f.html> Regards, Thomas