User Manual

Section 4: Using Matrix Operations 101
One-Step Residual Correction
The following program solves the system of equations AX = B for X, then performs one
stage iterative refinement to improve the solution. The program uses four matrices:
Matrix
A
B
C
D
Input
System
Matrix
Right-Hand
Matrix
Output
System
Matrix
Corrected
Solution
Uncorrected
Solution
LU Form
of A
Keystrokes
Program mode.
´CLEARM
´bA
l>A
O>Á
Stores system matrix in D.
l>B
l>Á
´<C
÷
Calculates uncorrected solution, C.
´<B
´>6
Calculates residual, B.
l>Á
÷
Calculates correction, B.
l>C
+
Calculates refined solution, B.
|n
Run mode.
Label used: A.
Matrices used: A, B, C, and D.
To use this program:
1. Dimension matrix A according to the system matrix and store those elements in A.
2. Dimension matrix B according to the right-hand matrix and store those elements in B.
3. Press GA to calculate the corrected solution in matrix B.