21st March 2013

User documentation

- Single
- Double
- Single Complex
- Double Complex

For a full matrix that is real symmetric, complex Hermitian, or complex symmetric, this module performs partial or full factorizations and performs solutions of corresponding sets of equations, paying special attention to the eﬃcient use of cache memory. In the real and complex Hermitian cases, the matrix need not be positive deﬁnite. The module performs symmetric interchanges for stability and uses both 1$\times $1 and 2$\times $2 pivots, assuming that the matrix is well scaled in the sense that changes that are small compared to the largest entry can be tolerated. It is suitable for use in a frontal or multifrontal solver, but may also be used for the direct solution of a full set of equations. Optionally, it may be compiled to use OpenMP.

Eliminations are limited to the leading $p$ rows and columns. Stability considerations may lead to $q\le p$ eliminations being performed, but there is an option to force all $p$ eliminations to be performed. Using an asterisk to represent taking the transpose or Hermitian transpose of a matrix, the factorization takes the form

$$PA{P}^{\ast}=\left(\begin{array}{cc}\hfill {L}_{11}\hfill & \hfill \hfill \\ \hfill {L}_{21}\hfill & \hfill I\hfill \end{array}\right)\left(\begin{array}{cc}\hfill D\hfill & \hfill \hfill \\ \hfill \hfill & \hfill {S}_{22}\hfill \end{array}\right)\left(\begin{array}{cc}\hfill {L}_{11}^{\ast}\hfill & \hfill {L}_{21}^{\ast}\hfill \\ \hfill \hfill & \hfill I\hfill \end{array}\right)$$where $A$ has order $n$, $P$ is a permutation matrix, ${L}_{11}$ is a unit lower triangular matrix of order $q$, $D$ is block diagonal of order $q$, and ${S}_{22}$ is a matrix of order $n-q$. The permutation matrix $P$ has the form

$$P=\left(\begin{array}{cc}\hfill {P}_{1}\hfill & \hfill \hfill \\ \hfill \hfill & \hfill I\hfill \end{array}\right)$$where ${P}_{1}$ is of order $p$. Each diagonal block of $D$ has size one or two.

The input format for $A$ is that its lower triangular part is held in lower packed format (that is, packed by columns). This format is also used for ${S}_{22}$ on return. The matrix $\left(\begin{array}{c}\hfill {L}_{11}\hfill \\ \hfill {L}_{21}\hfill \end{array}\right)$ is returned as a sequence of block columns, each of which consists of a triangular matrix packed by columns followed by a rectangular matrix packed by columns.

Subroutines are provided for partial solutions, that is, solving equations of the form

$$\left(\begin{array}{cc}\hfill {L}_{11}\hfill & \hfill \hfill \\ \hfill {L}_{21}\hfill & \hfill I\hfill \end{array}\right)X=B,\phantom{\rule{1em}{0ex}}\left(\begin{array}{cc}\hfill D\hfill & \hfill \hfill \\ \hfill \hfill & \hfill I\hfill \end{array}\right)X=B,$$$$\left(\begin{array}{cc}\hfill D\hfill & \hfill \hfill \\ \hfill \hfill & \hfill I\hfill \end{array}\right)\left(\begin{array}{cc}\hfill {L}_{11}^{\ast}\hfill & \hfill {L}_{21}^{\ast}\hfill \\ \hfill \hfill & \hfill I\hfill \end{array}\right)X=B,\phantom{\rule{1em}{0ex}}and\phantom{\rule{1em}{0ex}}\left(\begin{array}{cc}\hfill {L}_{11}^{\ast}\hfill & \hfill {L}_{21}^{\ast}\hfill \\ \hfill \hfill & \hfill I\hfill \end{array}\right)X=B$$

and the corresponding equations for a single right-hand side $b$ and solution $x$.