ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/doc/man/man1/icalc.1
(Generate patch)

Comparing ray/doc/man/man1/icalc.1 (file contents):
Revision 1.2 by greg, Tue Sep 4 17:36:40 2007 UTC vs.
Revision 1.5 by greg, Fri Mar 11 22:50:13 2022 UTC

# Line 13 | Line 13 | is a algebraic calculator designed primarily for
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
# Line 88 | Line 88 | The following library of predefined functions and vari
88   .BR PI
89   the ratio of a circle's circumference to its diameter.
90   .TP
91 < .BR "if(cond, then, else)"
92 < if cond is greater than zero,
91 > .BR "if(test, then, else)"
92 > if test is greater than zero,
93   then is evaluated, otherwise else is evaluated.
94   This function is necessary for recursive definitions.
95   .TP
# Line 103 | Line 103 | is zero, the number of available arguments is returned
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
# Line 129 | Line 135 | inverse trigonometric functions.
135   .TP
136   .BR "atan2(y, x)"
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"

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines