Texas Instruments NS/CLM/1L1/B Reference Guide - Page 70

randBin, Catalog &gt, randInt, randMat, randNorm, randPoly, randSamp

Page 70 highlights

randBin() randBin(n, p) ⇒ expression randBin(n, p, #Trials) ⇒ list randBin(n, p) returns a random real number from a specified Binomial distribution. randBin(n, p, #Trials) returns a list containing #Trials random real numbers from a specified Binomial distribution. Catalog > randInt() randInt(lowBound,upBound) ⇒ expression randInt(lowBound,upBound ,#Trials) ⇒ list randInt(lowBound,upBound) returns a random integer within the range specified by lowBound and upBound integer bounds. randInt(lowBound,upBound ,#Trials) returns a list containing #Trials random integers within the specified range. Catalog > randMat( ) randMat(numRows, numColumns) ⇒ matrix Returns a matrix of integers between -9 and 9 of the specified dimension. Both arguments must simplify to integers. Catalog > Note: The values in this matrix will change each time you press ·. randNorm( ) randNorm(m, s) ⇒ expression randNorm(m, s, #Trials) ⇒ list randNorm(m, s) returns a decimal number from the specified normal distribution. It could be any real number but will be heavily concentrated in the interval [mN3·s, m+3·s]. randNorm(m, s, #Trials) returns a list containing #Trials decimal numbers from the specified normal distribution. randPoly( ) randPoly(Var, Order) ⇒ expression Returns a polynomial in Var of the specified Order. The coefficients are random integers in the range ë9 through 9. The leading coefficient will not be zero. Order must be 0-99. randSamp() randSamp(List,#Trials[,noRepl]) ⇒ list Returns a list containing a random sample of #Trials trials from List with an option for sample replacement (noRepl=0), or no sample replacement (noRepl=1). The default is with sample replacement. Catalog > Catalog > Catalog > 64 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

64
TI-Nspire™ Reference Guide
randBin()
Catalog >
randBin(
n
,
p
)
expression
randBin(
n
,
p
,
#Trials
)
list
randBin(
n
,
p
)
returns a random real number from a specified
Binomial distribution.
randBin(
n
,
p
,
#Trials
)
returns a list containing
#Trials
random real
numbers from a specified Binomial distribution.
randInt()
Catalog >
randInt(
lowBound
,
upBound
)
expression
randInt(
lowBound
,
upBound
,
#Trials
)
list
randInt(
lowBound
,
upBound
)
returns a random integer within the
range specified by
lowBound
and
upBound
integer bounds.
randInt(
lowBound
,
upBound
,
#Trials
)
returns a list containing
#Trials
random integers within the specified range.
randMat()
Catalog >
randMat(
numRows
,
numColumns
)
matrix
Returns a matrix of integers between -9 and 9 of the specified
dimension.
Both arguments must simplify to integers.
Note:
The values in this matrix will change each time you press
·
.
randNorm()
Catalog >
randNorm(
m
,
s
)
expression
randNorm(
m
,
s
,
#Trials
)
list
randNorm(
m
,
s
)
returns a decimal number from the specified
normal distribution. It could be any real number but will be heavily
concentrated in the interval [
mN
3
·
s
,
m
+3
·
s
].
randNorm(
m
,
s
,
#Trials
)
returns a list containing
#Trials
decimal
numbers from the specified normal distribution.
randPoly()
Catalog >
randPoly(
Var
,
Order
)
expression
Returns a polynomial in
Var
of the specified
Order
. The coefficients
are random integers in the range
ë
9 through 9. The leading
coefficient will not be zero.
Order
must be 0–99.
randSamp()
Catalog >
randSamp(
List
,
#Trials
[
,
noRepl
]
)
list
Returns a list containing a random sample of
#Trials
trials from
List
with an option for sample replacement (
noRepl
=0), or no sample
replacement (
noRepl
=1). The default is with sample replacement.