SolveS(M, V) = Solve for minimum vector U where matrix M * U = V:
Uses the Singular Value Decomposition SVD method and can solve linear equations with a singular matrix M. There can be more, the same, or fewer equations than unknowns. If M is singular, the solution with the smallest length is given. The output also contains information like:
The residual will be the length of the vector r = M * U − V. The solution minimizes this residue. If the residual is not zero, this is a least square solution.
Return to Matrix and Polynomial Computations
Return to Harry's Home Page