Skip to main content
Tweeted twitter.com/#!/StackSciComp/status/314281361886285824
added 325 characters in body
Source Link
Tim
  • 1.3k
  • 2
  • 12
  • 27

in matlab, both linsolve and mldivide are used for solving a system of linear equations, in all of determined, overdetermined and underdetermined cases.

Reading their documents, I was wondering what differences are between them? Are they using almost the same algorithms of matrix factorization and triangularization in the three cases?

If A has the properties in opts, linsolve is faster than mldivide, because linsolve does not perform any tests to verify that A has the specified properties

Does mldivide perform the same tests to verify if A has the special properties? Or does mldivide just treat them as general case without the special properties?

Thanks!

in matlab, both linsolve and mldivide are used for solving a system of linear equations, in all of determined, overdetermined and underdetermined cases.

Reading their documents, I was wondering what differences are between them? Are they using almost the same algorithms of matrix factorization and triangularization in the three cases?

Thanks!

in matlab, both linsolve and mldivide are used for solving a system of linear equations, in all of determined, overdetermined and underdetermined cases.

Reading their documents, I was wondering what differences are between them? Are they using almost the same algorithms of matrix factorization and triangularization in the three cases?

If A has the properties in opts, linsolve is faster than mldivide, because linsolve does not perform any tests to verify that A has the specified properties

Does mldivide perform the same tests to verify if A has the special properties? Or does mldivide just treat them as general case without the special properties?

Thanks!

Source Link
Tim
  • 1.3k
  • 2
  • 12
  • 27

in matlab, what differences are between linsolve and mldivide?

in matlab, both linsolve and mldivide are used for solving a system of linear equations, in all of determined, overdetermined and underdetermined cases.

Reading their documents, I was wondering what differences are between them? Are they using almost the same algorithms of matrix factorization and triangularization in the three cases?

Thanks!