フィルターのクリア

Why does pagemldivide not give Singular Matrix warnings?

2 ビュー (過去 30 日間)
Kenneth Johnson
Kenneth Johnson 2022 年 2 月 23 日
回答済み: Kenneth Johnson 2022 年 2 月 28 日
The new pagemldivide function in R2022a Prerelease (I think also in Parallel Computing Toolbox) doesn't give any Singular Matrix warnings. Why is that?
>> mldivide([1,0;0,0],[1;1])
Warning: Matrix is singular to working precision.
ans =
1
Inf
>> pagemldivide([1,0;0,0],[1;1])
ans =
1
Inf

採用された回答

Kenneth Johnson
Kenneth Johnson 2022 年 2 月 28 日
Summary of response from Technical Support:
The 'help' for 'pagemldivide' states that the function never warns for ill-conditioned inputs. The reason for this design choice is performance. The computations needed to throw the warning could be nearly as expensive as the solve itself.
The optional second output argument of pagemldivide can be used to get the (multidimensional) reciprocal condition number, but this can seriously degrade runtime performance.

その他の回答 (1 件)

Steven Lord
Steven Lord 2022 年 2 月 23 日
Please send all questions or feedback about a Prerelease release to Technical Support rather than posting to MATLAB Answers.

カテゴリ

Help Center および File ExchangePerformance and Memory についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by