Sha256: 4801b9ca172e3403bfc7bf9d31b7ec048d6327b19e6ad011c1e876f0ae892b50

Contents?: true

Size: 536 Bytes

Versions: 3

Compression:

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