Solves a 3x3 linear system A*x=b.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public static Vector3d SolveFull( Matrix3d A, Vector3d b ) |
Visual Basic (Declaration) |
---|
Public Shared Function SolveFull ( _ A As Matrix3d, _ b As Vector3d _ ) As Vector3d |
Visual C++ |
---|
public: static Vector3d^ SolveFull( Matrix3d^ A, Vector3d^ b ) |
Parameters
- A
- Type: ceometric.VectorGeometry..::.Matrix3d
The coefficient matrix A.
- b
- Type: ceometric.VectorGeometry..::.Vector3d
The load vector b.
Return Value
Returns the vector of unknowns x = (x1, x2, x3).
Remarks
Uses Cramer's rule.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | The determinant of matrix A is zero: the columns of A are linearly dependent. |