3-120 Full Command and Function Reference
PICT cannot be smaller than 131 pixels wide × 80 pixels high on the hp49g+ (64 pixels on the
hp48gII) nor wider than 2048 pixels (height is unlimited).
Access: !°
PICT PDIM ( °is the left-shift of the Nkey).
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
(x
min
, y
min
) (x
max
, y
max
)
→
#n
width
#m
height
→
See also: PMAX, PMIN
PERM
Type: Function
Description: Permutations Function: Returns the number of possible permutations of n items taken m at a
time.
The formula used to calculate P
n,m
is:
P
nm,
n!
nm–()!
--------------------=
The arguments n and m must each be less than 10
12
. If n < m, zero is returned.
Access: !´L
PROBABILITY PERM ( ´ 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
→
P
n,m
'symb
n
' m
→
'PERM(symb
n,m
)'
n 'symb
m
'
→
'PERM(n, symb
m
)'
'symb
n
' 'symb
m
'
→
'PERM(symb
n
,symb
m
)'
See also: COMB, FACT, !
PEVAL
Type: Command
Description: Polynomial Evaluation Command: Evaluates an n-degree polynomial at x.
The arguments must be an array of length n
+ 1 containing the polynomial's coefficients
listed from highest order to lowest, and the value x at which the polynomial is to be evaluated.
Access: …µ
PEVAL
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
[ array ]
coefficients
x
→
p(x)
See also: PCOEF, PROOT
PGDIR
Type: Command
Description: Purge Directory Command: Purges the named directory (whether empty or not).
Access: !°
MEMORY DIRECTORY PGDIR ( °is the left-shift of the Nkey).
Input/Output:
Level 1/Argument 1 Level 1/Item 1
'global'
→
See also: CLVAR, CRDIR, HOME, PATH, PURGE, UPDIR