Sha256: 6a0c91bb45c68d325b77f50ef0ec15a9e513ad191582ce0ec1c8a181602e4ff2

Contents?: true

Size: 533 Bytes

Versions: 3

Compression:

Stored size: 533 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.4 doc/man/stddev.man
alf-shell-0.16.0 doc/man/stddev.man
alf-shell-0.15.0 doc/man/stddev.man