GROB 5 x 5 11A040A011 GXOR LASTARG GXOR »

 

turns on (makes dark) every pixel in PICT, then superimposes a 5 x 5 graphics object on PICT at

 

pixel coordinates { # 0d # 0d }. Each on-pixel in the 5 by 5 graphics object turns off (makes

 

light) the corresponding pixel in PICT. Then, the original picture is restored by executing GXOR

 

again with the same arguments.

See also:

GOR, REPL, SUB

 

 

 

 

 

 

 

 

 

 

*H

Command

 

 

 

 

Type:

 

 

 

 

Description:

Multiply Height Command: Multiplies the vertical plot scale by xfactor. *H is provided for

 

compatibility with the HP 48. *H is the same as SCALEH; see its listing for details.

 

 

 

 

 

 

 

 

 

 

HADAMARD

 

 

 

 

 

 

 

 

 

Type:

Command

 

 

 

 

Description:

Performs an element by element multiplication of two matrices (Hadamard product).

Access:

Matrices, OPERATIONS L

Input:

Level 2/Argument 1: Matrix 1.

 

Level 1/Argument 2: Matrix 2.

 

The matrices must have the same order.

Output:

The matrix representing the result of the multiplication.

Flags:

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

 

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

Example:

Find the Hadamard product of the following two matrices:

 

 

 

 

 

 

 

 

 

 

 

 

3 –1 2

 

2 3 0

 

 

 

 

0 1 4

and

 

1 5 2

 

Command:

 

 

 

 

 

 

 

 

HADAMARD([[3,-1,2][0,1,4]],[2,3,0][1,5,2]])

Result:

[[6,-3,0][0,5,8]]

HALFTAN

 

 

 

 

 

 

 

 

 

Type:

Command

 

 

 

 

Description:

Transforms an expression by replacing sin(x), cos(x) and tan(x) subexpressions with tan(x/2)

 

terms.

 

 

 

 

Access:

Trigonometry, …Ñor PTRIG

Input:

An expression

 

 

 

 

Output:

The transformed expression.

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).

See also:

TAN2CS2, TAN2SC2

HALT

Command

 

 

 

 

Type:

 

 

 

 

Description:

Halt Program Command: Halts program execution.

 

Program execution is halted at the location of the HALT command in the program. The HLT

 

annunciator is turned on. Program execution is resumed by executing CONT (that is, by pressing

 

). Executing KILL cancels all halted programs.

3-102 Full Command and Function Reference