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.) |
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 |
150 |
|
.SH AUTHOR |
151 |
|
Greg Ward |
152 |
|
.SH "SEE ALSO" |
153 |
< |
cnt(1), neaten(1), rcalc(1), rcollate(1), rlam(1), tabfunc(1) |
153 |
> |
cnt(1), neaten(1), rcalc(1), rcollate(1), rlam(1), rsplit(1), tabfunc(1) |