DSPSV Example

To solve the equations

Ax = b,

where A is the symmetric matrix

A = $\displaystyle \left(\vphantom{
\begin{array}{rrrr}
-1.81 & 2.06 & 0.63 & -1.1...
...63 & 1.87 & -0.21 & 3.87 \\
-1.15 & 4.20 & 3.87 & 2.07
\end{array} }\right.$$\displaystyle \begin{array}{rrrr}
-1.81 & 2.06 & 0.63 & -1.15 \\
2.06 & 1.1...
... \\
0.63 & 1.87 & -0.21 & 3.87 \\
-1.15 & 4.20 & 3.87 & 2.07
\end{array}$$\displaystyle \left.\vphantom{
\begin{array}{rrrr}
-1.81 & 2.06 & 0.63 & -1.1...
...63 & 1.87 & -0.21 & 3.87 \\
-1.15 & 4.20 & 3.87 & 2.07
\end{array} }\right)$  and  b = $\displaystyle \left(\vphantom{
\begin{array}{r}
0.96 \\
6.07 \\
8.38 \\
9.50
\end{array} }\right.$$\displaystyle \begin{array}{r}
0.96 \\
6.07 \\
8.38 \\
9.50
\end{array}$$\displaystyle \left.\vphantom{
\begin{array}{r}
0.96 \\
6.07 \\
8.38 \\
9.50
\end{array} }\right)$.

Details of the factorization of A are also output.

Example program
Example data
Example results