
Namespace:
Imsl.Math
Assembly:
ImslCS (in ImslCS.dll) Version: 6.5.0.0
Syntax
C# |
---|
[SerializableAttribute] public class ComplexSuperLU |
Visual Basic (Declaration) |
---|
<SerializableAttribute> _ Public Class ComplexSuperLU |
Visual C++ |
---|
[SerializableAttribute] public ref class ComplexSuperLU |
Remarks
Consider the sparse linear system of equations

Gaussian elimination, applied to the system above, can be shortly described as follows:
-
Compute a triangular factorization
. Here,
and
are positive definite diagonal matrices to equilibrate the system and
and
are permutation matrices to ensure numerical stability and preserve sparsity. L is a unit lower triangular matrix and U is an upper triangular matrix.
-
Solve
by evaluating
This is done efficiently by multiplying from right to left in the last expression: Scale the rows of b by. Multiplying
means permuting the rows of
. Multiplying
means solving the triangular system of equations with matrix L by substitution. Similarly, multiplying
means solving the triangular system with U.
Class ComplexSuperLU handles step 1 above in the Solve
method if it is has not been computed prior to step 2. More precisely,
before is solved the following steps are
performed:
- Equilibrate matrix A, i.e. compute diagonal matrices
and
so that
is "better conditioned" than A, i.e.
is less sensitive to perturbations in
than
is to perturbations in A.
- Order the columns of
to increase the sparsity of the computed L and U factors, i.e. replace
by
where
is a column permutation matrix.
- Compute the LU factorization of
. For numerical stability, the rows of
are eventually permuted through the factorization process by scaled partial pivoting, leading to the decomposition
. The LU factorization is done by a left looking supernode-panel algorithm with 2-D blocking. See Demmel, Eisenstat, Gilbert et al. (1999) for further information on this technique.
- Compute the reciprocal pivot growth factor
where
and
denote the j-th column of matrices
and U, respectively.
- Estimate the reciprocal of the condition number of matrix
.
Method Solve uses this information to perform the following steps:
- Solve the system
using the computed triangular factors.
- Iteratively refine the solution, again using the computed triangular factors. This is equivalent to Newton's method.
- Compute forward and backward error bounds for the solution vector x.
Some of the steps mentioned above are optional. Their settings can be controlled by the Set methods and properties of class ComplexSuperLU.
Class ComplexSuperLU is based on the SuperLU code written by Demmel, Gilbert, Li et al. For more detailed explanations of the factorization and solve steps, see the SuperLU Users' Guide (1999).
Copyright (c) 2003, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from U.S. Dept. of Energy)
All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
(1) Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
(2) Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
(3) Neither the name of Lawrence Berkeley National Laboratory, U.S. Dept. of Energy nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.