Sha256: 609d53c4c81faf95553f5843fc6ecec2ce5a11d64d9686785d121fdb134d25ed

Contents?: true

Size: 536 Bytes

Versions: 3

Compression:

Stored size: 536 Bytes

Contents

.TH Stddev
.PP
Standard deviation
.SH Signature
.PP
.RS
.nf
stddev(expr: AttrName|(Tuple\->Numeric)) \-> Aggregator
.fi
.RE
.SH Examples
.PP
.RS
.nf
stddev(:qty)
.fi
.RE
.PP
.RS
.nf
stddev{|t| t.qty * t.price }
.fi
.RE
.PP
.RS
.nf
stddev(\->(t){ t.qty * t.price })
.fi
.RE
.SH Description
.PP
Computes how much variation from the average exists.
.SH Implementation notes
.PP
This aggregate function should only be used with numeric types. As of
current Alf version, it does not aggregate empty sets correctly on
non\-numeric data types.

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
alf-shell-0.16.3 doc/man/stddev.man
alf-shell-0.16.2 doc/man/stddev.man
alf-shell-0.16.1 doc/man/stddev.man