def

func:mean

mean(val, acc)

Fold a sample of numbers into their standard average or arithmetic mean. This function is the same as core::avg. Nulls values are ignored. Return null if no values.

Example:

[2, 4, 5, 3].fold(mean)

meta

def func:mean
disKey ui::mean
foldOn Number
is func
lib lib:math
name mean

supertypes

feature

Feature namespace of definitions formatted as feature:name

    func

Axon function