Solves a 3x3 system A*x=b for one unknown.

Namespace:  ceometric.VectorGeometry
Assembly:  ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)

Syntax

C#
public static double SolveX(
	Matrix3d A,
	Vector3d b
)
Visual Basic (Declaration)
Public Shared Function SolveX ( _
	A As Matrix3d, _
	b As Vector3d _
) As Double
Visual C++
public:
static double SolveX(
	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 unknown x1 of the vector of unknowns x = (x1, x2, x3).

Remarks

Uses Cramer's rule.

Exceptions

ExceptionCondition
System..::.ArgumentExceptionThe determinant of Matrix A is zero: the columns of A are linearly dependent.

See Also