Input/Output:
|
| Level 2/Argument 1 | Level 1/Argument 2 |
| Level 1/Item 1 | |
|
|
|
|
|
|
|
|
| xinitial | ydelta |
| → | xfinal |
|
| x_unit1 | y_unit2delta | → | x_unit1final | |
|
| x_unit | 'symb' | → | 'TINC(x_unit, symb)' | |
|
| 'symb' | y_unit | delta | → | 'TINC(symb, y_unit )' |
|
|
|
| delta | ||
|
| 'symb1' | 'symb2' | → | 'TINC(symb1, symb2)' | |
See also: | TDELTA |
|
|
|
|
|
|
|
|
|
| ||
TLIN |
|
|
|
|
|
|
Type: | Command |
|
|
|
| |
Description: | Linearizes and simplifies trigonometric expressions. Note that this function does not collect sin | |||||
| and cos terms of the same angle. |
|
|
|
| |
Access: | PTRIG, Trigonometry, …ÑL |
|
|
| ||
Input: | An expression. |
|
|
|
| |
Output: | The transformation of the expression. |
|
|
| ||
Flags: | Exact mode must be set (flag |
|
|
| ||
| Numeric mode must not be set (flag |
|
| |||
| Radians mode must be set (flag |
|
|
| ||
Example: | Linearize and simplify the following: |
|
|
| ||
| ( cos(x))4 |
|
|
|
| |
Command: | TLIN(COS(X)^4) |
|
|
|
| |
Result: | (1/8)*COS(4X)+(1/2)*COS(2X)+(3/8) |
|
|
| ||
See also: | SIMPLIFY, TCOLLECT, TEXPAND |
|
|
| ||
TLINE | Command |
|
|
|
| |
Type: |
|
|
|
| ||
Description: | Toggle Line Command: For each pixel along the line in PICT defined by the specified | |||||
| coordinates, TLINE turns off every pixel that is on, and turns on every pixel that is off. | |||||
Access: | !°LPICT TLINE |
| ( °is the | |||
Input/Output: |
|
|
|
|
|
|
|
| Level 2/Argument 1 | Level 1/Argument 2 |
| Level 1/Item 1 | |
|
|
|
|
|
| |
|
| (x1,y1) | (x2,y2) | → |
| |
|
| { #n1 #m1 } | { #n2 #m2 } | → |
|
Example: The following program toggles on and off 10 times the pixels on the line defined by
«ERASE 0 10 XRNG 0 10 YRNG
{# 0d # 0d } PVIEW
« 1 10 START
(1,1) (9,9) TLINE .25 WAIT NEXT
»
»
See also: ARC, BOX, LINE