hello to all
I have a problem that to resolve... I need to know where to find a library or some routine that calculate ....Linear least squares with nonnegativity constraints, and Nonlinear least squares with upper and lower bounds.
Thanks
hello to all
I have a problem that to resolve... I need to know where to find a library or some routine that calculate ....Linear least squares with nonnegativity constraints, and Nonlinear least squares with upper and lower bounds.
Thanks
Last edited by juanpc; 09-15-2006 at 10:19 AM.
Where have you looked so far?
My best code is written with the delete key.
The libraries that I looked are LAPACK and NEWMATH but I have sought on those libraries and I have not found. ...
I Know that the libraries of optimizacion of MATLAB have them ..
1) lsqnonlin - Nonlinear least squares with upper and lower bounds.
2) lsqnonneg - Linear least squares with nonnegativity constraints.
but I need them in C
Maybe this one
http://en.wikipedia.org/wiki/GNU_Scientific_Library
I'm assuming that you actually know what you're doing on the math front to make a decent amount of sense of the things it offers...
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I googled Nonlinear ... in C library, and got a lot of hits. This one might have what you need:
http://wwwasd.web.cern.ch/wwwasd/lhc.../html/doc.html
Adak