A linear 3x3 system solver.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public class Solver |
Visual Basic (Declaration) |
---|
Public Class Solver |
Visual C++ |
---|
public ref class Solver |
Remarks
Solves a 3x3 linear system fully or for a single unknown using Cramer's rule.
If A*x=b is a linear system of equations where
- A is a square matrix,
- x is the column vector of unknowns and
- b is the load vector,
then xi = det(Ai)/det(A), where
- xi is the i-th unknown and
- Ai is the matrix formed by replacing the i-th column of A with the load vector b.