﻿SolveX Method (Vector3d, Vector3d, Vector3d, Vector3d)        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(
Vector3d a1,
Vector3d a2,
Vector3d a3,
Vector3d b
)```
Visual Basic (Declaration)
```Public Shared Function SolveX ( _
a1 As Vector3d, _
a2 As Vector3d, _
a3 As Vector3d, _
b As Vector3d _
) As Double```
Visual C++
```public:
static double SolveX(
Vector3d^ a1,
Vector3d^ a2,
Vector3d^ a3,
Vector3d^ b
)```

#### Parameters

a1
Type: ceometric.VectorGeometry..::.Vector3d
The first column of the coefficient matrix A.
a2
Type: ceometric.VectorGeometry..::.Vector3d
The second column of the coefficient matrix A.
a3
Type: ceometric.VectorGeometry..::.Vector3d
The third column of 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. Takes 29 flops and one division.

# Exceptions

ExceptionCondition
System..::.ArgumentExceptionThe determinant of Matrix A is zero: the vectors a1, a2 and a3 are linearly dependent.