help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: inverse matrix c++


From: David Bateman
Subject: Re: inverse matrix c++
Date: Wed, 14 Nov 2007 11:13:06 +0100
User-agent: Thunderbird 1.5.0.7 (X11/20060921)

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.

-- 
David Bateman                                address@hidden
Motorola Labs - Paris                        +33 1 69 35 48 04 (Ph) 
Parc Les Algorithmes, Commune de St Aubin    +33 6 72 01 06 33 (Mob) 
91193 Gif-Sur-Yvette FRANCE                  +33 1 69 35 77 01 (Fax) 

The information contained in this communication has been classified as: 

[x] General Business Information 
[ ] Motorola Internal Use Only 
[ ] Motorola Confidential Proprietary



reply via email to

[Prev in Thread] Current Thread [Next in Thread]