Reference Guide

3-168 Full Command and Function Reference
PERTBL
Type: Command
Description: Starts the Periodic Table. It doesn’t affect the stack.
Access: G
PERIODIC TABLE PERTBL
Flags: Units Usage (61), Units Type (60)
Input/Output: None
See also: MOLWT, PERINFO, PTPROP
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)
Example: Find the polynomial x
4
+ 2x
3
- 25x
2
- 26x + 120 at x = 8:
Command:
[ 1 2 –25 –26 120 ] 8 PEVAL
Result:
3432
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
PICK
Type: RPL Command
Description: Pick Object Command: Copies the contents of a specified stack level to level 1.
Access:
STACK PICK
( °is the left-shift of the Nkey).
Input/Output:
L
n+1
...
L
2
L
1
L
n+1
L
2
L
1
obj
n
...
obj
1
n
obj
n
...
obj
1
obj
i
L = Level
See also: DUP, DUPN, DUP2, OVER, ROLL, ROLLD, ROT, SWAP
PICK3
Type: RPL Command
Description: Duplicates the object on level 3 of the stack.
Access:
STACK
L
PICK
3 ( °is the left-shift of the Nkey).