Round(), Rowadd(), Rowdim() – Texas Instruments TITANIUM TI-89 User Manual

Page 866: Rownorm(), 866 appendix a: functions and instructions

Advertising
background image

866

Appendix A: Functions and Instructions

rotate(

string1

[,

#ofRotations

])

string

Returns a copy of

string1

rotated right or left by

#of Rotations

characters. Does not alter

string1

.

If

#of Rotations

is positive, the rotation is to the

left. If

#of Rotations

is negative, the rotation is to

the right. The default is ë 1 (rotate right one
character).

rotate("abcd") ¸ "dabc"

rotate("abcd",ë2) ¸ "cdab"

rotate("abcd",1) ¸ "bcda"

round()

MATH/Number menu

round(

expression1

[,

digits

])

expression

Returns the argument rounded to the specified
number of digits after the decimal point.

digits

must be an integer in the range 0–12. If

digits

is not included, returns the argument

rounded to 12 significant digits.

Note: Display digits mode may affect how this is
displayed.

round(1.234567,3)

¸

1.235

round(

list1

[,

digits

])

list

Returns a list of the elements rounded to the
specified number of digits.

round({p,‡(2),ln(2)},4)

¸

{3.1416 1.4142 .6931}

round(

matrix1

[,

digits

])

matrix

Returns a matrix of the elements rounded to the
specified number of digits.

round([ln(5),ln(3);p,

e

^(1)],1)

¸

[

1.6 1.1

3.1 2.7

]

rowAdd()

MATH/Matrix/Row ops menu

rowAdd(

matrix1

,

rIndex1

,

rIndex2

)

matrix

Returns a copy of

matrix1

with row

rIndex2

replaced by the sum of rows

rIndex1

and

rIndex2

.

rowAdd([3,4;л 3,л 2],1,2)

¸

[ ]

3 4

0 2

rowAdd([a,b;c,d],1,2)

¸

[

a

a+c

b

b+d]

rowDim()

MATH/Matrix/Dimensions menu

rowDim(

matrix

)

expression

Returns the number of rows in

matrix

.

Note: See also

colDim()

.

[1,2;3,4;5,6]! M1

¸

1 2

3 4

5 6

rowdim(M1)

¸

3

rowNorm()

MATH/Matrix/Norms menu

rowNorm(

matrix

)

expression

Returns the maximum of the sums of the absolute
values of the elements in the rows in

matrix

.

Note: All matrix elements must simplify to
numbers. See also

colNorm()

.

rowNorm([-5,6,-7;3,4,9;9,-9,-7])
¸

25

Advertising