help confusion with mldivide and mrdivide and inv()

3 views (last 30 days)
Hi, I am a little confused by help documentation on mldivide, mrdivide and inv()
Help on mrdivide says, "If A is a square matrix, B/A is roughly the same as B*inv(A). If A is an n-by-n matrix and B is a row vector with n elements, or a matrix with several such rows, then X = B/A is the solution to the equation XA = B computed by Gaussian elimination with partial pivoting. "
Help on mldivide says, "If A is a square matrix, A\B is roughly the same as inv(A)*B, except it is computed in a different way. If A is an n-by-n matrix and B is a column vector with n elements, or a matrix with several such columns, then X = A\B is the solution to the equation AX = B. " This implies "to me" that mldivide is not done by Gaussian Elimination.
However, help on inv() suggests that mldivide is done by Gaussian Elimination. Perhaps mldivide was previously done with Gaussian Elimination, but now it is not. (?) If my interpretation is correct, until which version did mldivide use Gaussian Elimination? Does the help on "inv()" need updating?
Thanks,
dr

Answers (0)

Categories

Find more on Creating and Concatenating Matrices 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!