Sha256: 24562505f2956e98e1ba8807fcbf2172b7d7a0be21ac7500a1f2fb40944a075f

Contents?: true

Size: 539 Bytes

Versions: 3

Compression:

Stored size: 539 Bytes

Contents

.TH Variance
.PP
Variance
.SH Signature
.PP
.RS
.nf
variance(expr: AttrName|(Tuple\->Numeric)) \-> Aggregator
.fi
.RE
.SH Examples
.PP
.RS
.nf
variance(:qty)
.fi
.RE
.PP
.RS
.nf
variance{|t| t.qty * t.price }
.fi
.RE
.PP
.RS
.nf
variance(\->(t){ t.qty * t.price })
.fi
.RE
.SH Description
.PP
Computes how far the set of input values is spread out.
.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/variance.man
alf-shell-0.16.2 doc/man/variance.man
alf-shell-0.16.1 doc/man/variance.man