numtools

perform numerical operations on vectors and matrices in unix pipes
git clone git://src.adamsgaard.dk/numtools # fast
git clone https://src.adamsgaard.dk/numtools.git # slow
Log | Files | Refs | README | LICENSE Back to index

commit 2ee4ea97b087bf7bdb4ee4da1ea668a48deafdbb
parent 8ea1920df26393631c033b2e3955d88e6e20eaa2
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Mon,  9 May 2022 16:00:50 +0200

std{var,dev}.1: fix backslashes in examples

Diffstat:
Mstddev.1 | 4++--
Mstdvar.1 | 4++--
2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/stddev.1 b/stddev.1 @@ -23,12 +23,12 @@ Return the uncorrected sample standard deviation instead. .Sh EXAMPLES Compute the corrected standard deviation for some input numbers: .Pp -.Dl $ printf '10\n8\n10\n8\n8\n4\n' | stddev +.Dl $ printf '10\en8\en10\en8\en8\en4\en' | stddev .Dl 2.1908902300206643 .Pp Same as the previous example, but return the uncorrected standard deviation: -.Dl $ printf '10\n8\n10\n8\n8\n4\n' | stddev -u +.Dl $ printf '10\en8\en10\en8\en8\en4\en' | stddev -u .Dl 2 .Sh SEE ALSO .Xr max 1 , diff --git a/stdvar.1 b/stdvar.1 @@ -23,12 +23,12 @@ Return the uncorrected sample standard variance instead. .Sh EXAMPLES Compute the corrected standard variance for some input numbers: .Pp -.Dl $ printf '10\n8\n10\n8\n8\n4\n' | stdvar +.Dl $ printf '10\en8\en10\en8\en8\en4\en' | stdvar .Dl 4.7999999999999998 .Pp Same as the previous example, but return the uncorrected standard variance: -.Dl $ printf '10\n8\n10\n8\n8\n4\n' | stdvar -u +.Dl $ printf '10\en8\en10\en8\en8\en4\en' | stdvar -u .Dl 4 .Sh SEE ALSO .Xr max 1 ,