What is the computational complexity of solving a system of equations using A\b?
4 views (last 30 days)
Show older comments
When dividing matrices, what is the order of the number of operations (big O notation)? Is this generally dependent on the dimensions of the matrcies or something else?
0 Comments
Answers (1)
Walter Roberson
on 14 Dec 2021
See https://www.mathworks.com/help/matlab/ref/mldivide.html#bt4jslc-6 which has a flow chart of which solver will get chosen in which situation.
After that you would look up the complexity of each solver of interest to you. For example https://stackoverflow.com/questions/23112943/time-complexity-of-cholesky-decomposition-for-the-ldl-form
0 Comments
See Also
Categories
Find more on Linear Algebra in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!