IMSL C# Numerical Library

ComplexLU.Solve Method (Complex[,], Complex[])

Return the solution x of the linear system ax = b using the LU factorization of a.

public static Complex[] Solve(
   Complex[,] a,
   Complex[] b
);

Parameters

a
A Complex square matrix.
b
A Complex column vector.

Return Value

A Complex column vector containing the solution to the linear system of equations.

Exceptions

Exception Type Condition
ArgumentException is thrown when the number of rows in a is not equal to the length of b
SingularMatrixException is thrown when the matrix is singular

See Also

ComplexLU Class | Imsl.Math Namespace | ComplexLU.Solve Overload List