Min(), Mod(), Movevar – Texas Instruments TITANIUM TI-89 User Manual
Page 844: Mrow(), Mrowadd(), 844 appendix a: functions and instructions
844
Appendix A: Functions and Instructions
min()
MATH/List menu
min(
expression1
,
expression2
)
⇒
⇒
⇒
⇒
expression
min(
list1, list2
)
⇒
⇒
⇒
⇒
list
min(
matrix1, matrix2
)
⇒
⇒
⇒
⇒
matrix
Returns the minimum of the two arguments. If
the arguments are two lists or matrices, returns a
list or matrix containing the minimum value of
each pair of corresponding elements.
min(2.3,1.4)
¸
1.4
min({1,2},{л 4,3})
¸
{л 4 2}
min(
list
)
⇒
⇒
⇒
⇒
expression
Returns the minimum element of
list
.
min({0,1,л 7,1.3,.5})
¸
л
7
min(
matrix1
)
⇒
matrix
Returns a row vector containing the minimum
element of each column in
matrix1
.
Note: See also
fMin()
and
max()
.
min([1,л 3,7;л 4,0,.3])
¸
[л 4 л 3 .3]
mod()
MATH/Number menu
mod(
expression1
,
expression2
)
⇒
⇒
⇒
⇒
expression
mod(
list1
,
list2
)
⇒
⇒
⇒
⇒
list
mod(
matrix1
,
matrix2
)
⇒
⇒
⇒
⇒
matrix
Returns the first argument modulo the second
argument as defined by the identities:
mod(x,0)
x
mod(x,y)
xì y floor(x/y)
When the second argument is non-zero, the result
is periodic in that argument. The result is either
zero or has the same sign as the second
argument.
If the arguments are two lists or two matrices,
returns a list or matrix containing the modulo of
each pair of corresponding elements.
Note: See also
remain()
.
mod(7,0)
¸
7
mod(7,3)
¸
1
mod(ë 7,3)
¸
2
mod(7,л 3)
¸
л
2
mod(л 7,л 3)
¸
л
1
mod({12,л 14,16},{9,7,л 5})
¸
{3
0
л
4}
MoveVar
CATALOG
MoveVar
var
,
oldFolder
,
newFolder
Moves variable
var
from
oldFolder
to
newFolder
. If
newFolder
does not exist,
MoveVar
creates it.
{1,2,3,4}! L1
¸
{1 2 3 4}
MoveVar L1,Main,Games
¸
Done
mRow()
MATH/Matrix/Row ops menu
mRow(
expression
,
matrix1
,
index
)
⇒
⇒
⇒
⇒
matrix
Returns a copy of
matrix1
with each element in
row
index
of
matrix1
multiplied by
expression
.
mRow(л 1/3,[1,2;3,4],2)
¸
[
1 2
л
1 л 4/3
]
mRowAdd()
MATH/Matrix/Row ops menu
mRowAdd(
expression
,
matrix1
,
index1
,
index2
)
⇒
⇒
⇒
⇒
matrix
Returns a copy of
matrix1
with each element in
row
index2
of
matrix1
replaced with:
expression
× row
index1
+ row
index2
mRowAdd(ë 3,[1,2;3,4],1,2)
¸
[
1 2
0 L2
]
mRowAdd(n,[a,b;c,d],1,2)
¸
[
a
aø n+c
b
bø n+d]