Class LinSolver
ABB Internal use only.
Namespace: ABB.Robotics.Math
Assembly: ABB.Robotics.Math.dll
Syntax
public static class LinSolver
Methods
Solve(Matrix, Matrix)
Solve a linear equation system using Gaussian elimination.
Declaration
public static Matrix Solve(Matrix matrix, Matrix b)
Parameters
Type | Name | Description |
---|---|---|
Matrix | matrix | Matrix containing coeffiecients for linear eq. system. |
Matrix | b | Right hand side. |
Returns
Type | Description |
---|---|
Matrix | Solution on success, null on failure. |
Remarks
Uses partial pivoting so should be numerically stable. Not terribly optimized, 100 by 100 matrices is quick (a few ms) but 1000 by 1000 takes some time (a few s).