Texas Instruments TINSPIRE Reference Guide - Page 92

Important, round, Catalog &gt, rowAdd, rotate

Page 92 highlights

rotate() If #ofRotations is positive, the rotation is to the left. If #ofRotations In Hex base mode: is negative, the rotation is to the right. The default is L1 (rotate right one bit). For example, in a right rotation: Catalog > Each bit rotates right. 0b00000000000001111010110000110101 Important: To enter a binary or hexadecimal number, always use the 0b or 0h prefix (zero, not the letter O). Rightmost bit rotates to leftmost. produces: 0b10000000000000111101011000011010 The result is displayed according to the Base mode. rotate(List1[,#ofRotations]) ⇒ list In Dec base mode: Returns a copy of List1 rotated right or left by #of Rotations elements. Does not alter List1. If #ofRotations is positive, the rotation is to the left. If #of Rotations is negative, the rotation is to the right. The default is L1 (rotate right one element). rotate(String1[,#ofRotations]) ⇒ string Returns a copy of String1 rotated right or left by #ofRotations characters. Does not alter String1. If #ofRotations is positive, the rotation is to the left. If #ofRotations is negative, the rotation is to the right. The default is L1 (rotate right one character). round( ) round(Value1[, digits]) ⇒ value 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(List1[, digits]) ⇒ list Returns a list of the elements rounded to the specified number of digits. round(Matrix1[, digits]) ⇒ matrix Returns a matrix of the elements rounded to the specified number of digits. Catalog > rowAdd( ) rowAdd(Matrix1, rIndex1, rIndex2) ⇒ matrix Returns a copy of Matrix1 with row rIndex2 replaced by the sum of rows rIndex1 and rIndex2. Catalog > 86 TI-Nspire™ Reference Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164

86
TI-Nspire™ Reference Guide
If
#ofRotations
is positive, the rotation is to the left. If
#ofRotations
is negative, the rotation is to the right. The default is
L
1 (rotate right
one bit).
For example, in a right rotation:
In Hex base mode:
Each bit rotates right.
0b00000000000001111010110000110101
Rightmost bit rotates to leftmost.
produces:
0b10000000000000111101011000011010
The result is displayed according to the Base mode.
Important:
To enter a binary or hexadecimal number, always
use the 0b or 0h prefix (zero, not the letter O).
rotate(
List1
[
,
#ofRotations
]
)
list
Returns a copy of
List1
rotated right or left by
#of Rotations
elements. Does not alter
List1
.
If
#ofRotations
is positive, the rotation is to the left. If
#of Rotations
is negative, the rotation is to the right. The default is
L
1 (rotate right
one element).
In Dec base mode:
rotate(
String1
[
,
#ofRotations
]
)
string
Returns a copy of
String1
rotated right or left by
#ofRotations
characters. Does not alter
String1
.
If
#ofRotations
is positive, the rotation is to the left. If
#ofRotations
is negative, the rotation is to the right. The default is
L
1 (rotate right
one character).
round()
Catalog >
round(
Value1
[
,
digits
]
)
value
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(
List1
[
,
digits
]
)
list
Returns a list of the elements rounded to the specified number of
digits.
round(
Matrix1
[
,
digits
]
)
matrix
Returns a matrix of the elements rounded to the specified number of
digits.
rowAdd()
Catalog >
rowAdd(
Matrix1
,
rIndex1
,
rIndex2
)
matrix
Returns a copy of
Matrix1
with row
rIndex2
replaced by the sum of
rows
rIndex1
and
rIndex2
.
rotate()
Catalog >