Uses the LU factorization of self to solve the linear system Ax = b.
Namespace:
CenterSpace.NMath.MatrixAssembly: NMath (in NMath.dll) Version: 5.1.0.0
Syntax
| C# |
|---|
public FloatComplexVector Solve( FloatComplexVector b ) |
| Visual Basic (Declaration) |
|---|
Public Function Solve ( _ b As FloatComplexVector _ ) As FloatComplexVector |
| Visual C++ |
|---|
public: FloatComplexVector^ Solve( FloatComplexVector^ b ) |
Parameters
- b
- Type: CenterSpace.NMath.Core..::.FloatComplexVector
Vector to solve for. Must have a length equal to the number of rows in the factored matrix.
Return Value
A vector x that is the solution to Ax = b.
Exceptions
| Exception | Condition |
|---|---|
| CenterSpace.NMath.Core..::.SingularMatrixException | Thrown if the factored matrix is singular. |
| CenterSpace.NMath.Core..::.MismatchedSizeException | Thrown if the length of b is different than the number of rows in the factored matrix. |