MAIN

Type: Command

Description: Displays the main menu (or list) of CAS operations. This displays the CASCFG command, the ALGB, ARIT, DIFF, EXP&LN, MATHS MATR, REWRITE and TRIGO menu commands described in this part of the Command Reference, and the CMPLX and SOLVER menu commands described in the Full Command and Function Reference (Chapter 3). Other menus are not shown because they are within the submenus given by MAIN. More details are given in Appendix K of the User’s Guide.

Access: Catalog, …µ

Flags: If the CHOOSE boxes flag is clear (flag –117 clear), displays the operations as a list. If the flag is set, displays the operations as a menu of function keys.

See also: ALGB, ARIT, CONSTANTS, DIFF, EXP&LN, INTEGER, MATHS, MATR, MODULAR, POLYNOMIAL, REWRITE, TESTS, TRIGO

MANT

Type:

Function

 

 

Description:

Mantissa Function: Returns the mantissa of the argument.

 

Access:

REAL LMANT

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

Flags:

Numerical Results (–3)

 

 

Input/Output:

 

 

 

 

 

 

Level 1/Argument 1

 

Level 1/Item 1

 

 

 

 

 

 

 

x

ymant

 

 

'symb'

'MANT(symb)'

 

 

 

 

 

See also:

SIGN, XPON

 

 

 

 

 

 

 

MAP

Command

 

 

Type:

 

 

Description: Applies a specified program to a list of objects or values. If one of the objects is a list, MAP will apply the program recursively to the items in the inner list.

Level 1/Argument 2 contains the program to apply to the objects or values.

Level 2/Argument 1 contains the list, matrix, or vector.

Access: …µMAP

Input/Output:

 

 

 

 

Level 2/Argument 1

Level 1/Argument 2

 

Level 1/Item 1

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

{list}1

«program»

{list}2

 

{

1 2

{

 

 

 

 

Example:

3

4

} } « →STR » MAP returns

 

 

{

"1"

"2"

{

"3" "4" } }.

 

 

↓MATCH

Type: Command

Description: Match Pattern Down Command: Rewrites an expression that matches a specified pattern.

↓MATCH rewrites expressions or subexpressions that match a specified pattern 'symbpat'. An optional condition, 'symbcond', can further restrict whether a rewrite occurs. A test result is also returned to indicate if command execution produced a rewrite; 1 if it did, 0 if it did not.

Full Command and Function Reference 3-141