| 13 |
|
interactive use. |
| 14 |
|
Each formula definition |
| 15 |
|
.I file |
| 16 |
< |
is read and compiled. |
| 16 |
> |
is read and compiled from the RADIANCE library where it is found. |
| 17 |
|
The standard input is then read, expressions are evaluated |
| 18 |
|
and results are sent to the standard output. |
| 19 |
|
If a newline is escaped using a backslash, input is continued |
| 103 |
|
.BR "rand(x)" |
| 104 |
|
compute a random number between 0 and 1 based on x. |
| 105 |
|
.TP |
| 106 |
+ |
.BR "min(a1, a2, ..)" |
| 107 |
+ |
return the minimum value from a list of arguments. |
| 108 |
+ |
.TP |
| 109 |
+ |
.BR "max(a1, a2, ..)" |
| 110 |
+ |
return the maximum value from a list of arguments. |
| 111 |
+ |
.TP |
| 112 |
|
.BR "floor(x)" |
| 113 |
|
return largest integer not greater than x. |
| 114 |
|
.TP |
| 134 |
|
inverse trigonometric functions. |
| 135 |
|
.TP |
| 136 |
|
.BR "atan2(y, x)" |
| 137 |
< |
inverse tangent of y/x (range -pi to pi). |
| 137 |
> |
inverse tangent of y/x (range \-pi to pi). |
| 138 |
> |
.SH ENVIRONMENT |
| 139 |
> |
RAYPATH the directories to check for auxiliary files. |
| 140 |
|
.SH AUTHOR |
| 141 |
|
Greg Ward |
| 142 |
|
.SH "SEE ALSO" |