Input/Output:

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

z

1/z

 

 

[[ matrix ]]

[[ matrix ]]–1

 

 

'symb'

'INV(symb)'

 

 

x_unit

1/x_1/unit

See also:

SINV, /

 

 

 

 

 

 

 

 

 

 

 

INVMOD

 

 

 

 

Type:

Function

 

 

Description:

Performs modular inversion on an object modulo the current modulus.

 

Access:

Arithmetic, MODULO L

 

 

Input:

An object.

 

 

Output:

The modular inverse of the object.

 

 

Flags:

Exact mode must be set (flag –105 clear).

 

 

 

Numeric mode must not be set (flag –3 clear).

 

 

Example: Solve the following for x, modulo the default modulus, 13.

(2x ≡ 1)

Command: INVMOD(2)

Result: -6

IP

Type: Function

Description: Integer Part Function: Returns the integer part of its argument.

The result has the same sign as the argument.

Access:

REALLIP

( ´is the left-shift of the Pkey).

Flags:

Numerical Results (–3)

 

 

Input/Output:

 

 

 

 

 

 

 

 

 

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

x

n

 

 

x_unit

n_unit

 

 

'symb'

'IP(symb)'

 

32.3_m

 

 

 

Example:

IP returns 32_m.

 

 

See also:

FP

 

 

 

 

 

 

 

IQUOT

 

 

 

 

Type:

Function

 

 

Description:

Returns the integer quotient (or Euclidean quotient) of two integers. That is, given two integers, a

 

and b, returns the integer q, such that:

 

 

 

a = qb + r, and 0 ≤ r < b

 

 

Access:

PARITH or Arithmetic, INTEGER L

 

Input:

Level 2/Argument 1: The dividend.

 

 

 

Level 1/Argument 2: The divisor.

 

 

Output:

The integer quotient.

 

 

3-120 Full Command and Function Reference