|
Boost : |
Subject: Re: [boost] Library design Q : overloads v/s default args
From: Thomas Klimpel (Thomas.Klimpel_at_[hidden])
Date: 2010-06-21 13:40:58
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
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk