Message Boards Message Boards

0
|
98 Views
|
4 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Det::luc result for Det of badly conditioned matrix

Posted 2 days ago

Hi, I have just upgraded to Mathematica 14.0 from 13.

It results now that I cannot calculate numerical determinants as they were calculated until version 13. I get the message Result for Det of badly conditioned matrix.

Any way to make Mathematica to keep calculating determinants without needing to update until now working long notebooks?

Thanks. .

POSTED BY: Cesar Lozada
4 Replies
Posted 2 days ago

Solution found:

Off[Det::luc];

Thanks.

POSTED BY: Cesar Lozada
Posted 2 days ago

Sorry for ignoring the rules. I mean this

mm={{-2.189378444982154, 21.010339270775784, -19.768819222957216}, {-52.36007139957183, 12.270797378058715, 43.88070761016749}, {76.88784687371522, -68.48310247861276, -11.24831958659327}}
Det[mm]
Det::luc: Result for Det of badly conditioned matrix {{-2.189378444982154,21.010339270775784,-19.768819222957216},{-52.36007139957183,12.270797378058715,43.88070761016749},{76.88784687371522,-68.48310247861276,-11.24831958659327}} may contain significant numerical errors.
-1.7047944827165407*10^-11

This warning was not presented in version 13.1

Any way to get off of this message. I have checked the following workaround are solutions:

Quiet[Det[mm]]
(*or*)
Det[SetPrecision[mm,20]]

But I have a very long package and should made many changes or define a new function for calculating determinants.

Thanks again in advance

POSTED BY: Cesar Lozada

I do not think the methods changed. All that changed, to my recollection, was adding the message for cases where the computation hit ill conditioning. Results should be the same as before

POSTED BY: Daniel Lichtblau

Welcome to Wolfram Community!
Please provide your efforts in the form of the Wolfram Language code. This will make it easier for other members to help you. Check several methods available to include your code in the rules http://wolfr.am/READ-1ST

POSTED BY: Moderation Team
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract