Texas Instruments TI-89 Titanium User Manual page 817

Hide thumbs Also See for TI-89 Titanium:
Table of Contents

Advertisement

Loop
CATALOG
Loop
block
EndLoop
Repeatedly executes the statements in
that the loop will be executed endlessly, unless a
or
Goto
Exit
is a sequence of statements separated with
block
the ":" character.
LU
MATH/Matrix menu
matrix
lMatName
LU
,
Calculates the Doolittle LU (lower-upper)
decomposition of a real or complex
triangular matrix is stored in
triangular matrix in
matrix (which describes the row swaps done during
the calculation) in
lMatName
Optionally, any matrix element is treated as zero if
its absolute value is less than
used only if the matrix has floating-point entries and
does not contain any symbolic variables that have
not been assigned a value. Otherwise,
• If you use ¥ ¸ or set the mode to
Exact/Approx=APPROXIMATE
are done using floating-point arithmetic.
• If
is omitted or not used, the default tolerance
tol
is calculated as:
ë 14 ù max(dim(
5
E
The
factorization algorithm uses partial pivoting
LU
with row interchanges.
814
instruction is executed within
uMatName
pMatName [
tol ]
,
,
,
matrix
, the upper
lMatName
, and the permutation
uMatName
.
pMatName
ù
ù
=
uMatName
pMatName
matrix
. This tolerance is
tol
, computations
matrix
)) ù rowNorm(
Program segment:
©
:1! i
. Note
block
:Loop
:
Rand(6)! die1
.
block
:
Rand(6)! die2
:
If die1=6 and die2=6
:
Goto End
:
i+1! i
:EndLoop
:Lbl End
:Disp "The number of rolls is", i
©
[6,12,18;5,14,31;3,8,18]!m1
¸
. The lower
LU m1,lower,upper,perm ¸ Done
lower ¸
upper ¸
is ignored.
tol
perm ¸
matrix
)
[m,n;o,p]!m1 ¸
LU m1,lower,upper,perm ¸ Done
lower ¸
upper ¸
perm ¸
Appendix A: Functions and Instructions
6
12
18
5
14
31
3
8
18
1
0
0
5/6
1
0
1/2
1/2
1
6
12
18
0
4
16
0
0
1
1
0
0
0
1
0
0
0
1
m
n
o
p
1
0
m
1
o
o
p
møp
n ì
0
o
0
1
1
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents