The pseudo inverse computations are based on the Singular
Value Decomposition. There is (or at least used to be) a
free numerical library (LAPACK) available where such
routines are included. I think I have seen the library
available for c/c++.
If I am not mistaken, a certain Dr Moler was involved in
developing LAPACK?
Rune
The best way to compute the Moore-Penrose pseudoinverse
makes use the Singular Value Decomposition. See the "pinv"
function in MATLAB.
A Google query for C code for SVD finds several possibilities.
Straightforward JAVA code for the SVD that could easily be
translated into C is available at:
http://math.nist.gov/javanumerics/jama/
Good luck.
-- Cleve Moler
"Oded" <odeda...@yahoo.com> wrote in message
news:6b69bf75.04053...@posting.google.com...