Computer Algebra Commands 4-43
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.
2
1≡()
Command: INVMOD(2)
Result: -6
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: P
ARITH or Arithmetic, !ÞINTEGER L
Input: Level 2/Argument 1: The dividend.
Level 1/Argument 2: The divisor.
Output: The integer quotient.
Flags: Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag -3 clear).
Radians mode must be set (flag –17 set).
See also: QUOT, IDIV2
IREMAINDER
Type: Function
Description: Returns the remainder of an integer division.
Access: PARITH or Arithmetic, !ÞINTEGER L
Input: Level 2/Argument 1: The numerator.
Level 1/Argument 2: The denominator.
Output: The remainder.
Flags: Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag -3 clear).
Radians mode must be set (flag –17 set).
See also: IDIV2
ISOM
Type: Command
Description: Determine the characteristics of a 2-d or 3-d linear isometry.
Access: Matrices, !Ø LINEAR APPL
Input: A square matrix representing a linear isometry.
Output: A vector and/or an angle that represent the symmetry of the matrix, and 1 (for a direct
isometry) or -1 (for an indirect isometry).
Flags: Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag -3 clear).
Radians mode must be set (flag –17 set).