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

Comparing ray/doc/man/man1/total.1 (file contents):
Revision 1.6 by greg, Wed Jul 13 15:21:28 2005 UTC vs.
Revision 1.11 by greg, Sat Jul 20 00:57:43 2019 UTC

# Line 19 | Line 19 | total - sum up columns
19   ][
20   .B \-o{f|d}
21   ][
22 + .B "\-in M"
23 + ][
24 + .B "\-on M"
25 + ][
26   .B \-tC
27   ][
28   .B \-N
# Line 64 | Line 68 | The
68   .I \-m
69   option can be used to compute the mean rather than the total.
70   For sums, the arithmetic mean is computed.
71 + If a power is also specified using the
72 + .I \-s
73 + option, the inverse power will be applied to the averaged result.
74   For products, the geometric mean is computed.
75   (A logarithmic sum of absolute values is used to avoid overflow, and
76   zero values are silently ignored.)
# Line 112 | Line 119 | and the calculation is reset before the next file (wit
119   option).
120   .PP
121   The
122 + .I \-in
123 + option if present, will limit the number of input records read
124 + (per input file).
125 + The
126 + .I \-on
127 + option may be used to limit the total number of outut records produced.
128 + .PP
129 + The
130   .I \-tC
131   option can be used to specify the input and output tab character.
132   The default tab character is TAB.
133   .PP
134   If no files are given, the standard input is read.
135 < .SH EXAMPLE
135 > .SH EXAMPLES
136   To compute the RMS value of colon-separated columns in a file:
137   .IP "" .2i
138 < total -t: -m -s2 input
138 > total \-t: \-m \-s2 input
139   .PP
140   To produce a running product of values from a file:
141   .IP "" .2i
142 < total -p -1 -r input
142 > total \-p \-1 \-r input
143   .SH BUGS
144   If the input files have varying numbers of columns, mean values
145   will certainly be off.
# Line 135 | Line 150 | the tab character is white.
150   .SH AUTHOR
151   Greg Ward
152   .SH "SEE ALSO"
153 < cnt(1), neaten(1), rcalc(1), rlam(1), tabfunc(1)
153 > cnt(1), neaten(1), rcalc(1), rcollate(1), rlam(1), rsplit(1), tabfunc(1)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines