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

Comparing ray/doc/man/man1/rcalc.1 (file contents):
Revision 1.13 by greg, Tue Oct 10 16:10:14 2017 UTC vs.
Revision 1.15 by greg, Sat Jul 20 00:57:43 2019 UTC

# Line 285 | Line 285 | is zero, the number of available arguments is returned
285   .BR "rand(x)"
286   compute a random number between 0 and 1 based on x.
287   .TP
288 + .BR "min(a1, a2, ..)"
289 + return the minimum value from a list of arguments.
290 + .TP
291 + .BR "max(a1, a2, ..)"
292 + return the maximum value from a list of arguments.
293 + .TP
294   .BR "floor(x)"
295   return largest integer not greater than x.
296   .TP
# Line 324 | Line 330 | inverse tangent of y/x (range \-pi to pi).
330   To print the square root of column two in column one,
331   and column one times column three in column two:
332   .IP "" .2i
333 < rcalc \-e '$1=sqrt($2);$2=$1*$3' inputfile > outputfile
333 > rcalc -e '$1=sqrt($2);$2=$1*$3' inputfile > outputfile
334   .SH ENVIRONMENT
335   RAYPATH         the directories to check for auxiliary files.
336   .SH AUTHOR
# Line 336 | Line 342 | options, not in definitions.
342   .PP
343   Tabs count as single spaces inside fields.
344   .SH "SEE ALSO"
345 < cnt(1), ev(1), getinfo(1), icalc(1), rcollate(1), rlam(1), tabfunc(1), total(1)
345 > cnt(1), ev(1), getinfo(1), icalc(1), rcollate(1), rlam(1),
346 > rsplit(1), tabfunc(1), total(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines