Match; Maths; Matr; Max - HP 48gII Advanced User's Reference Manual

Graphing calculator
Hide thumbs Also See for 48gII:
Table of Contents

Advertisement

' SIN(&A)*COS(&B)+COS(&A)*SIN(&B) ' . Multiple occurrences of a particular wildcard in a
pattern must match identical subexpressions.
MATCH works from top down; that is, it checks the entire expression first. This approach
works well for expansion. An expression expanded during one execution of MATCH will
contain additional subexpressions, and those subexpressions can be expanded by another
execution of MATCH. Several expressions can be expanded by one execution of MATCH
provided none is a subexpression of any other.
...µ
Access:
Input/Output:
See also:

MATCH

MATCH
Type:
Command
Description: Bottom-Up Match and Replace Command: Rewrites an expression.
MATCH rewrites expressions or subexpressions that match a specified pattern ' symb
optional condition, ' symb
returned to indicate if command execution produced a rewrite; 1 if it did, 0 if it did not.
The pattern ' symb
replace ' SIN( /6) ' with ' 1/2 ' . You can also use a "wildcard" in the pattern (to match any
subexpression) and in the replacement (to represent that expression). A wildcard is a name that
begins with &, such as the name ' &A ' , used in replacing ' SIN(&A+ ) ' with ' –SIN(&A) ' . Multiple
occurrences of a particular wildcard in a pattern must match identical subexpressions.
MATCH works from bottom up; that is, it checks the lowest level (most deeply nested)
subexpressions first. This approach works well for simplification. A subexpression simplified
during one execution of MATCH will be a simpler argument of its parent expression, so the
parent expression can be simplified by another execution of MATCH.
Several subexpressions can be simplified by one execution of MATCH provided none is a
subexpression of any other.
...µ
Access:
Input/Output:
Level 2/Argument 1
See also:
MATCH

MATHS

CAS:
Display a menu or list of CAS mathematics submenus.

MATR

CAS:
Display a menu or list of CAS commands for matrix operations.

MAX

Type:
Function
MATCH
Level 2/Argument 1
'symb
'
1
'symb
'
{ 'symb
1
' , can further restrict whether a rewrite occurs. A test result is also
cond
' and replacement ' symb
pat
MATCH
Level 1/Argument 2
'symb
'
{ 'symb
1
'symb
'
{ 'symb
1
Level 1/Argument 2
{ 'symb
' 'symb
' }
pat
repl
' 'symb
' 'symb
' }
pat
repl
cond
' can be normal expressions; for example, you can
repl
', 'symb
' }
pat
repl
', 'symb
', 'symb
' }
pat
repl
cond
Full Command and Function Reference 3-101
Level 1/Item
Level 2/Item 1
'symb
'
0/1
2
'symb
'
0/1
2
' . An
pat
Level 2/Item 1
Level 1/Item 2
'symb
'
0/1
2
'symb
'
0/1
2
2

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

49g+

Table of Contents