Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]

Minimum and Maximum Operators


Operator
Description
Example
<
Minimum operator.
The value of "A < B" is equal to the smaller of A or B.
For complex numbers the absolute value is used.

;Set A equal to 3.

A = 5 < 3

 

;Set all points in array ARR that are larger

;than 100 to 100:

ARR = ARR < 100

 

;Set X to the smallest of the three operands:

X = X0 < X1 < X2

>
Maximum operator.
"A > B" is equal to the larger of A or B.
For complex numbers the absolute value is used.

;`>' is used to avoid taking the log of zero

;or negative numbers:

C = ALOG(D > 1E - 6)

 

;Plot positive points only. Negative points

;are plotted as zero:

PLOT, ARR > 0


Home | Categories | Alphabetical | Classes | All Contents | [ < ] | [ > ]