UNROT

Type:

RPL Command

 

 

 

 

 

 

Description:

Changes the order of the first three objects on the stack. The order of the change is the opposite

 

to that of the ROT command.

 

 

 

 

 

Access:

STACK UNROT

 

 

( °is the left-shift of the Nkey).

 

Input/Output:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

L3

L2

L1

 

L3

L2

L1

 

 

 

 

 

 

 

 

 

 

 

obj3

obj2

obj1

obj1

obj3

obj2

 

 

 

 

 

 

Example:

333 22 1 UNROT returns 1 333 22.

 

 

 

See also:

OVER, PICK, ROLL, ROLLD, SWAP, ROT

 

 

 

 

 

 

 

 

 

 

 

 

 

UNTIL

Command

 

 

 

 

 

 

Type:

 

 

 

 

 

 

Description:

UNTIL Command: Starts the test clause in a DO … UNTIL … END indefinite loop structure.

 

See the DO entry for more information.

 

 

 

 

Access:

BRANCH DO UNTIL

 

( °is the left-shift of the Nkey).

 

Input/Output:

None

 

 

 

 

 

 

See also:

DO, END

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

UPDIR

Command

 

 

 

 

 

 

Type:

 

 

 

 

 

 

Description:

Up Directory Command: Makes the parent of the current directory the new current directory.

 

UPDIR has no effect if the current directory is HOME.

 

 

 

Access:

 

 

( §is the left-shift of the Jkey).

 

Input/Output:

None

 

 

 

 

 

 

See also:

CRDIR, HOME, PATH, PGDIR

 

 

 

 

 

 

 

 

 

 

 

 

 

 

UTPC

Command

 

 

 

 

 

 

Type:

 

 

 

 

 

 

Description: Upper Chi-Square Distribution Command: Returns the probability utpc(n, x) that a chi-square random variable is greater than x, where n is the number of degrees of freedom of the distribution.

The defining equations are these:

For x ≥ 0:

 

 

 

 

 

 

 

 

 

 

 

1

 

n

t

 

 

 

 

 

 

 

 

 

 

 

 

 

 

-- – 1

--

 

 

 

 

 

 

 

 

----------------

 

2

2

 

 

 

 

 

 

 

utpc(n, x) =

 

 

--

 

 

t

 

e

dt

 

 

 

 

 

 

 

 

 

n

 

 

 

 

 

 

 

 

 

 

 

 

2

2

n

x

 

 

 

 

 

 

 

 

 

 

 

 

 

Γ(--)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

2

 

 

 

 

 

 

• For x < 0:

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

utpc(n, x)) = 1

 

 

 

 

Γ

--z

=

--z

– 1

!

 

 

 

 

 

 

 

 

 

 

For any value z,

2

 

2

, where ! is the factorial command.

 

 

 

 

 

 

The value n is rounded to the nearest integer and, when rounded, must be positive. Access: !´LPROBABILITY LUTPC ( ´is the left-shift of the Pkey).

Full Command and Function Reference 3-265