Result: |
|
| ||||||
See also: | PROPFRAC |
|
| |||||
PATH | Command |
|
| |||||
Type: |
|
| ||||||
Description: | Current Path Command: Returns a list specifying the path to the current directory. | |||||||
| The first directory is always HOME, and the last directory is always the current directory. | |||||||
| If a program needs to switch to a specific directory, it can do so by evaluating a directory list, such | |||||||
| as one created earlier by PATH. |
|
| |||||
Access: | !°MEMORY DIRECTORY PATH | ( °is the | ||||||
Input/Output: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Level 1/Argument 1 |
| Level 1/Item 1 |
|
|
|
|
|
|
|
| |
|
|
|
|
|
| → | { HOME | |
|
|
|
|
|
|
| ||
See also: | CRDIR, HOME, PGDIR, UPDIR |
|
| |||||
|
|
|
|
|
|
|
|
|
PCAR |
|
|
|
|
|
|
|
|
Type: | Command |
|
| |||||
Description: | Returns the characteristic polynomial of an n × n matrix. |
| ||||||
Access: | Matrices, !Ø LEIGENVECTORS |
|
| |||||
Input: | A square matrix. |
|
| |||||
Output: | The characteristic polynomial of the matrix. |
|
| |||||
Flags: | Exact mode must be set (flag |
|
| |||||
| Numeric mode must not be set (flag |
|
| |||||
Example: | Find the characteristic polynomial of the following matrix: |
| ||||||
|
|
|
|
|
|
|
|
|
|
| 5 | 8 | 16 |
|
|
|
|
|
| 4 | 1 | 8 |
|
|
|
|
|
|
|
|
| ||||
Command: |
|
|
|
|
| |||
|
| |||||||
Result: |
|
| ||||||
See also: | JORDAN, PMINI |
|
| |||||
PCOEF | Command |
|
| |||||
Type: |
|
| ||||||
Description: | Monic Polynomial Coefficients Command: Returns the coefficients of a monic polynomial (a | |||||||
| polynomial with a leading coefficient of 1) having specific roots. |
| ||||||
| The argument must be a real or complex array of length n containing the polynomial’s roots. The | |||||||
| result is a real or complex vector of length n+1 containing the coefficients listed from highest | |||||||
| order to lowest, with a leading coefficient of 1. |
| ||||||
Access: | !ÞPOLYNOMIAL LLPCOEF | ( Þis the | ||||||
Input/Output: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| Level 1/Argument 1 |
| Level 1/Item 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| [ array ]roots | → | [ array ]coefficients |
|
|
|
| |||||
Example: | Find the polynomial that has the roots 2, |
| ||||||
Command: | [ 2 |
|
| |||||
Result: | [ 1 2 | |||||||
See also: | PEVAL, PROOT |
|
|
Full Command and Function Reference