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 |
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 |
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) |