Flags: | Exact mode must be set (flag | ||
| Numeric mode must not be set (flag | ||
See also: | AXL, AXQ | ||
|
|
|
|
AXQ |
|
|
|
Type: | Command | ||
Description: | Converts a square matrix into the associated quadratic form. | ||
Access: | Convert, !Ú MATRIX CONVERT, or matrices !Ø QUADRATIC FORM | ||
Input: | Level 2/Argument 1: An n×n matrix. | ||
| Level 1/Argument 2: A vector containing n variables. | ||
Output: | Level 2/Item 1: The corresponding quadratic form. | ||
| Level 1/Item 2: The vector containing the variables. | ||
Flags: | Exact mode must be set (flag | ||
| Numeric mode must not be set (flag | ||
| Radians mode must be set (flag | ||
Example: | Find the quadratic form, expressed in terms of x, y, and z, associated with the following matrix: | ||
|
|
|
|
|
| 3 6 0 |
|
|
| 2 4 1 |
|
|
| 1 1 1 |
|
Command: |
|
|
|
AXQ([[3,6,0][2,4,1][1,1,1]],[X,Y,Z]) | |||
Result: | {3*X^2+(8*Y+Z)*X+(4*Y^2+2*Z*Y+Z^2),[X,Y,Z]} | ||
See also: | AXL, AXM, GAUSS, QXA | ||
|
|
|
|
BAR | Command | ||
Type: | |||
Description: | Bar Plot Type Command: Sets the plot type to BAR. | ||
| When the plot type is BAR, the DRAW command plots a bar chart using data from one column | ||
| of the current statistics matrix (reserved variable ΣDAT). The column to be plotted is specified by | ||
| the XCOL command, and is stored in the first parameter of the reserved variable ΣPAR. The | ||
| plotting parameters are specified in the reserved variable PPAR, which has the following form: | ||
|
|
| { (xmin, ymin) (xmax, ymax) indep res axes ptype depend } |
| For plot type BAR, the elements of PPAR are used as follows: | ||
| • | (xmin, ymin) is a complex number specifying the lower left corner of PICT (the lower left corner | |
|
| of the display range). The default value is | |
|
| HP 50g and 49g+. | |
| • | (xmax, ymax) is a complex number specifying the upper right corner of PICT (the upper right | |
|
| corner of the display range). The default value is (6.5,3.2) for the HP 48gII and (6.5,4.0) for the | |
|
| HP 50g and 49g+. | |
| • | indep is either a name specifying a label for the horizontal axis, or a list containing such a name | |
|
| and two numbers, with the smaller of the numbers specifying the horizontal location of the first | |
|
| bar. The default value of indep is X. | |
| • | res is a real number specifying the bar width in | |
|
| specifying the bar width in pixels. The default value is 0, which specifies a bar width of 1 in | |
|
| ||
| • | axes is a list containing one or more of the following, in the order listed: a complex number | |
|
| specifying the | |
|
| and two strings specifying labels for the horizontal and vertical axes. The default value is (0,0). |