Reference Guide
Full Command and Function Reference 3-143
Input/Output:
Level 2/Argument 1
Level 1/Argument 2 Level 2/Item 1 Level 1/Item 2
'symb
1
'
{ 'symb
pat
', 'symb
repl
' }
→
'symb
2
'
0/1
'symb
1
'
{ 'symb
pat
', 'symb
repl
', 'symb
cond
' }
→
'symb
2
'
0/1
Example 1: This sequence:
'SIN(π/6)' { 'SIN(π/6)' '1/2' } ↑MATCH
returns
'1/2'
to level 2 and
1
(indicating a replacement was made) to level 1.
Example 2: This sequence:
'SIN(X+π)' { 'SIN(&A+π)' '-SIN(&A)' } ↑MATCH
returns
'-SIN(X)'
to level 2 and
1
to level 1.
Example 3: This sequence:
'W+ƒ(SQ(5))' { 'ƒ(SQ(&A))' '&A' '&AŠ0' } ↑MATCH
returns
'W+5'
to level 2 and
1
to level 1.
See also: ↓MATCH
MATHS
Type: Command
Description: Displays a menu or list of CAS mathematics submenus. Details are given in Appendix J of the
User’s Guide.
Access: Catalog, …µ
Flags: If the CHOOSE boxes flag is clear (flag –117 clear), displays the submenus as a list. If the flag is
set, displays the submenus as a menu of function keys.
See also: ALGB, ARIT, CONSTANTS, DIFF, EXP&LN, INTEGER, MAIN, MATR, MODULAR,
POLYNOMIAL, REWRITE, TESTS, TRIGO
MATR
Type: Command
Description: Displays a menu or list containing the CAS commands for matrix operations.
Access: Catalog, …µ
Flags: If the CHOOSE boxes flag is clear (flag –117 clear), displays the operations as a numbered list. If
the flag is set, displays the operations as a menu of function keys.
See also: ALGB, ARIT, CONSTANTS, DIFF, EXP&LN, INTEGER, MAIN, MATHS, MODULAR,
POLYNOMIAL, REWRITE, TESTS, TRIGO
MAX
Type: Function
Description: Maximum Function: Returns the greater of two inputs.
Access: !´
REAL MAX
( ´ 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
x
y
→
max(x,y)
x
'symb'
→
'MAX(x, symb)'
'symb'
x
→
'MAX(symb, x)'
'symb
1
'
'symb
2
'
→
'MAX(symb
1
, symb
2
)'
x_unit
1
y_unit
2
→
max(x_unit
1
, y_unit
2
)