help-octave
[Top][All Lists]
Advanced

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

[Octave 5.2.0 @ Ubuntu 20.04] Long duration of complex matrix inverse


From: KamilStawiarski
Subject: [Octave 5.2.0 @ Ubuntu 20.04] Long duration of complex matrix inverse
Date: Sun, 29 Mar 2020 05:15:10 -0500 (CDT)

Hi, I have a problem with complex matrix inverse. It tooks tooo much time -
exactly after a few minutes it is still running.
For example:
R =[2.73777 + 0.00000i   1.37236 - 0.72174i   0.69303 - 0.14167i   0.63994 -
0.83864i  -0.25874 - 0.25550i  -0.82048 - 0.20511i; 1.37236 + 0.72174i  
2.69579 + 0.00000i   0.23759 - 0.30504i   1.29171 - 0.17148i  -0.15310 -
0.00730i  -0.25855 - 0.60625i; 0.69303 + 0.14167i   0.23759 + 0.30504i  
0.40401 + 0.00000i   0.20763 + 0.24430i   0.20110 - 0.03398i  -0.06607 -
0.18187i; 0.63994 + 0.83864i   1.29171 + 0.17148i   0.20763 - 0.24430i  
1.36263 + 0.00000i   0.37732 - 0.65585i  -0.35103 - 0.68330i; -0.25874 +
0.25550i  -0.15310 + 0.00730i   0.20110 + 0.03398i   0.37732 + 0.65585i  
0.86475 + 0.00000i   0.15397 - 0.44375i; -0.82048 + 0.20511i  -0.25855 +
0.60625i  -0.06607 + 0.18187i  -0.35103 + 0.68330i   0.15397 + 0.44375i  
0.51529 + 0.00000i];

R^-1, inv(R) or even det(R) never ends. I hadn't this sort of problem at
previous version (5.1.0 or 4.4.1).

I also made some tests:
>> inv(randn(5,5)+randn(5,5)*i)
ans =

  -2.425050 + 0.985107i  -2.252581 + 0.717247i   0.907427 + 0.038175i  
1.836315 - 0.164532i   1.118745 + 1.651210i
  -0.441461 + 0.242339i  -0.362658 + 0.527868i   0.095278 - 0.101801i  
0.421793 - 0.354213i   0.653532 + 0.342560i
  -0.822710 + 0.768548i  -0.839364 + 0.685658i   0.352782 - 0.286913i  
0.569430 - 0.484251i   0.885459 + 0.606097i
  -1.085909 + 1.130584i  -1.502771 + 0.367119i   0.511804 - 0.073505i  
1.185076 - 0.471890i   0.831822 + 0.963687i
   1.949569 - 2.571564i   2.639221 - 1.653823i  -1.182722 + 0.113535i 
-1.860883 + 1.649983i  -2.199696 - 1.906358i

>> inv(randn(6,6)+randn(6,6)*i) <- still running.

It seems that this occures with matrices larger than 5x5.

Can somebody check occurrence of this at your copy?

Regards. 




--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html



reply via email to

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