Menu

#201 MatrixC.Inverse() under Windows is broken

open
5
2004-05-26
2004-05-25
No

Hi,

I am trying to find the inverse of 20x20 Symmetric
covariance matrix under Windows, using
MatrixC.Inverse().

cerr<<"Inverse"<<endl<<covMatrix.Inverse()<<endl;

I get the following at the prompt:

Inverse
0 0

The transpose however is working correctly.

The Inverse method works fine for a 3x3 matrix.

Regards,
Tony

a.micilotta@eim.surrey.ac.uk

Discussion

  • Charles Galambos

    • labels: 472363 --> Runtime error
    • assigned_to: nobody --> craftit
     
  • Charles Galambos

    Logged In: YES
    user_id=188615

    Are you sure the matrix isn't singular ? Returning a 0 by 0
    matrix means the inversion failed. If your sure it
    isn't, can
    you send me a file with the matrix values in it so I can try
    and reproduce the error.