Result:
{COS(B)/2*A + MYFUNC(PQ) + 1/T, [MYFUNC(PQ),COS(B),A,T]}
See also:
LNAME
MAD
Type:
Command
Description:
Returns details of a square matrix, including the information needed to obtain the adjoint
matrix. The adjoint matrix is obtained by multiplying the inverse matrix by the determinant.
Matrices, !Ø
Access:
Input:
A square matrix
Output:
Level 4/Item 1: The determinant.
Level 3/Item 2: The formal inverse.
Level 2/Item 3: The matrix coefficients of the polynomial, p, defined by
(xi–a)p(x)=m(x)i, where a is the matrix, and m is the characteristic polynomial of a.
Level 1/Item 4: The characteristic polynomial.
Flags:
Exact mode must be set (flag –105 clear).
Numeric mode must not be set (flag -3 clear).
Example:
Obtain the adjoint matrix of:
0 1
–
1 0
Command:
MAD([[0, -1][1, 0]])
Result:
{1,[[0, 1][-1, 0]],{[[1, 0][0, 1]], [[0, -1][1, 0]]}, X^2+1}
The determinant is 1, so the adjoint is the second item
See also:
LNAME
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.
Catalog, ...µ
Access:
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
MATHS
Type:
Command
Description:
Displays a menu or list of CAS mathematics submenus. Details are given in Appendix J of the
User's Guide.
Catalog, ...µ
Access:
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.
L
OPERATIONS
.
[[0, 1][-1, 0]]
Computer Algebra Commands 4-51