echelon TI-83 Source Code - Skip Header

echelon TI-83 Source Code

This is intended to be the human readable version of the source code for Matrix Reduction. This version is intended to work only on the TI-83 Texas Instruments graphic calculator. Also available: Documentation about "Matrix Reduction" and versions of the program for other calculators and in other formats.

Any line that begins with a backslash is a comment and should not be entered into the calculator. (Comments have been colored green) For an authoritative copy of this program's source code that can be imported to the calculator via a computer, consult the text version of Matrix Reduction source code for the TI-83, along with the character reference. The special character reference also gives an overview of all non-ASCII characters for the calculator, and shows the menus in which they can be found.

\start83P\
\comment=Program file dated 04/10/96, 18:39
\protected=FALSE
\name=ECHELON
0→Θ
Menu("CHOOSE","ECHELON",E,"REDUCED ECHELON",F)
Lbl E
1→Θ
Lbl F
dim([A]→L1
1→A
1→B
Lbl 0
For(E,A+1,L1(1)+1)
If abs([A](A,B))<1E-6
Then
0→[A](A,B)
If E>L1(1)
Then
If B=L1(2)
Then
Goto 2
Else
B+1→B
Goto 0
End
End
rowSwap([A],A,E)→[A]
End
End
*row([A](A,B)-1,[A],A)→[A]
1→[A](A,B)
For(E,A+1,L1(1),1)
*row+(-[A](E,B),[A],A,E)→[A]
0→[A](E,B)
End
A+1→A
B+1→B
If A>L1(1)
Goto 2
If B>L1(2)
Goto 2
Goto 0
Lbl 2
If Θ=1
Goto D
L1(1)→A
Lbl A
If A<1
Goto D
1→B
Lbl B
If [A](A,B)=1
Goto C
If B=L1(2)
Then
A-1→A
Goto A
End
B+1→B
Goto B
Lbl C
For(C,1,A-1)
*row+(-[A](C,B),[A],A,C→[A]
End
A-1→A
Goto A
Lbl D
[A]
Stop
COPYRIGHT STEPHEN OSTERMILLER 1996

\stop83P\