Texas Instruments TINSPIRE Reference Guide - Page 29

Criteria, value, ListOfCoeffs, List1, Vector1, countif, Catalog &gt, cPolyRoots, crossP

Page 29 highlights

countif( ) Catalog > countif(List,Criteria) ⇒ value Returns the accumulated count of all elements in List that meet the specified Criteria. Counts the number of elements equal to 3. Criteria can be: • A value, expression, or string. For example, 3 counts only those elements in List that simplify to the value 3. Counts the number of elements equal to "def." • A Boolean expression containing the symbol ? as a placeholder for each element. For example, ? Catalog > TI-Nspire™ Reference Guide 23

  • 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

TI-Nspire™ Reference Guide
23
countif()
Catalog >
countif(
List
,
Criteria
)
value
Returns the accumulated count of all elements in
List
that meet the
specified
Criteria
.
Criteria
can be:
A value, expression, or string. For example,
3
counts only those
elements in
List
that simplify to the value 3.
A Boolean expression containing the symbol
?
as a placeholder
for each element. For example,
?<5
counts only those elements
in
List
that are less than 5.
Within the Lists & Spreadsheet application, you can use a range of
cells in place of
List
.
Empty (void) elements in the list are ignored. For more information on
empty elements, see page 131.
Note:
See also
sumIf()
, page 100, and
frequency()
, page 39.
Counts the number of elements equal to 3.
Counts the number of elements equal to “def.”
Counts 1 and 3.
Counts 3, 5, and 7.
Counts 1, 3, 7, and 9.
cPolyRoots()
Catalog >
cPolyRoots(
Poly
,
Var
)
list
cPolyRoots(
ListOfCoeffs
)
list
The first syntax,
cPolyRoots(
Poly
,
Var
)
, returns a list of complex
roots of polynomial
Poly
with respect to variable
Var
.
Poly
must be a polynomial in expanded form in one variable. Do not
use unexpanded forms such as y
2
·y+1 or x·x+2·x+1
The second syntax,
cPolyRoots(
ListOfCoeffs
)
, returns a list of
complex roots for the coefficients in
ListOfCoeffs.
Note:
See also
polyRoots()
, page 74.
crossP()
Catalog >
crossP(
List1
,
List2
)
list
Returns the cross product of
List1
and
List2
as a list.
List1
and
List2
must have equal dimension, and the dimension must
be either 2 or 3.
crossP(
Vector1
,
Vector2
)
vector
Returns a row or column vector (depending on the arguments) that is
the cross product of
Vector1
and
Vector2
.
Both
Vector1
and
Vector2
must be row vectors, or both must be
column vectors. Both vectors must have equal dimension, and the
dimension must be either 2 or 3.