--- ray/doc/man/man1/total.1 2016/03/24 18:48:28 1.9 +++ ray/doc/man/man1/total.1 2019/07/20 00:57:43 1.11 @@ -1,4 +1,4 @@ -.\" RCSid "$Id: total.1,v 1.9 2016/03/24 18:48:28 greg Exp $" +.\" RCSid "$Id: total.1,v 1.11 2019/07/20 00:57:43 greg Exp $" .TH TOTAL 1 2/3/95 RADIANCE .SH NAME total - sum up columns @@ -68,6 +68,9 @@ The .I \-m option can be used to compute the mean rather than the total. For sums, the arithmetic mean is computed. +If a power is also specified using the +.I \-s +option, the inverse power will be applied to the averaged result. For products, the geometric mean is computed. (A logarithmic sum of absolute values is used to avoid overflow, and zero values are silently ignored.) @@ -129,7 +132,7 @@ option can be used to specify the input and output tab The default tab character is TAB. .PP If no files are given, the standard input is read. -.SH EXAMPLE +.SH EXAMPLES To compute the RMS value of colon-separated columns in a file: .IP "" .2i total \-t: \-m \-s2 input @@ -147,4 +150,4 @@ the tab character is white. .SH AUTHOR Greg Ward .SH "SEE ALSO" -cnt(1), neaten(1), rcalc(1), rcollate(1), rlam(1), tabfunc(1) +cnt(1), neaten(1), rcalc(1), rcollate(1), rlam(1), rsplit(1), tabfunc(1)