Flags:

Exact mode must be set (flag –105 clear).

 

Numeric mode must not be set (flag –3 clear).

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 –105 clear).

 

Numeric mode must not be set (flag –3 clear).

 

Radians mode must be set (flag –17 set).

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 (–6.5,–3.1) for the HP 48gII and (–6.5,–3.9) for the

 

 

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 user unit coordinates, or a binary integer

 

 

specifying the bar width in pixels. The default value is 0, which specifies a bar width of 1 in

 

 

userunit coordinates.

 

axes is a list containing one or more of the following, in the order listed: a complex number

 

 

specifying the userunit coordinates of the plot or igin, a list specifying the tickmark annotation,

 

 

and two strings specifying labels for the horizontal and vertical axes. The default value is (0,0).

326 Full Command and Function Reference

Page 146
Image 146
HP 50g Graphing, 48gII Graphing Bar, Axl, Axq, Axl, Axm, Gauss, Qxa, Xmin, ymin xmax, ymax indep res axes ptype depend