  | NMathFunctionsSolve(DoubleComplexMatrix, DoubleComplexVector) Method | 
            Computes the solution, x, to the linear system
            Ax = b.
            
Namespace: CenterSpace.NMath.CoreAssembly: NMath (in NMath.dll) Version: 7.4
Syntaxpublic static DoubleComplexVector Solve(
	DoubleComplexMatrix A,
	DoubleComplexVector b
)
Public Shared Function Solve ( 
	A As DoubleComplexMatrix,
	b As DoubleComplexVector
) As DoubleComplexVector
public:
static DoubleComplexVector^ Solve(
	DoubleComplexMatrix^ A, 
	DoubleComplexVector^ b
)
static member Solve : 
        A : DoubleComplexMatrix * 
        b : DoubleComplexVector -> DoubleComplexVector Parameters
- A  DoubleComplexMatrix
 - A matrix of coefficients.
 - b  DoubleComplexVector
 - A vector to solve for. Must have the
            same length as the number of rows of the matrix A.
 
Return Value
DoubleComplexVectorVector 
x that is the solution to 
Ax = b.
Exceptions
Remarks
            Note that a DoubleComplexLUFact instance is created with each call. If you are calling
            Solve() repeatedly (inside a loop, for example), and the coefficient matrix 
A
            is not changing between calls, this is more efficient:
            
Example
            DoubleComplexLUFact fact = new DoubleComplexLUFact( A, false );
            ...
            fact.Solve( b );
            
See Also