3-32 Full Command and Function Reference
COLΣ combines the functionality of XCOL and YCOL. The independent-variable column
number x
xcol
is stored as the first parameter in the reserved variable ΣPAR (the default is 1). The
dependent-variable column number x
ycol
is stored as the second parameter in the reserved
variable
ΣPAR (the default is 2).
COL
Σ accepts and stores noninteger values, but subsequent commands that use these two
parameters in
ΣPAR will cause errors.
Access: …µ
COLΣ
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
x
col
y
col
→
See also: BARPLOT, BESTFIT, CORR, COV, EXPFIT, HISTPLOT, LINFIT, LOGFIT, LR, PREDX,
PREDY, PWRFIT, SCATRPLOT, XCOL, YCOL
COMB
Type: Function
Description: Combinations Function: Returns the number of possible combinations of n items taken m at a
time. The following formula is used:
C
nm,
n!
m! nm–()!⋅
-------------------------------=
The arguments n and m must each be less than 10
12
. If n<m, zero is returned.
Access: !´L
PROBABILITY COMB ( ´ is the left-shift of the Pkey).
Flags: Numerical Results (–3)
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
n m
→
C
n;m
'symb
n
' m
→
'COMB(symb
n
,m)'
n 'symb
m
'
→
'COMB(n, symb
m
)'
'symb
n
' 'symb
m
'
→
'COMB(symb
n
,symb
m
)'
See also: FACT, PERM, !
CON
Type: Command
Description: Constant Array Command: Returns a constant array, defined as an array whose elements all have
the same value.
The constant value is a real or complex number taken from argument 2/level 1. The resulting
array is either a new array, or an existing array with its elements replaced by the constant,
depending on the object in argument 1/level 2.
• Creating a new array: If argument 1/level 2 contains a list of one or two integers, CON
returns a new array. If the list contains a single integer n
columns
, CON returns a constant vector
with n elements. If the list contains two integers n
rows
and m
columns
, CON returns a constant
matrix with n rows and m columns.
• Replacing the elements of an existing array: If argument 1/level 2 contains an array, CON returns
an array of the same dimensions, with each element equal to the constant. If the constant is a
complex number, the original array must also be complex.
• If argument 1/level 2 contains a name, the name must identify a variable that contains an array. In
this case, the elements of the array are replaced by the constant. If the constant is a complex
number, the original array must also be complex.