Javier Rodríguez Benito wrote:
Hi all,
I´m trying to calculate the inverse of a matrix of 186x186 in c++, but
I get the input matrix as result. If I do the same for a smaller
matrix it works fine.
I´m not sure if it could be a precision problem. Any ideas?
thanks
_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave
Did you write
X.inverse()
or
Matrix Y = X.inverse();
?
The inverse method leaves the matrix X alone in the above and returns
the inverted matrix. So the second from is the correct way to do it.
D.