.. _ExpressionFunctions: Expression Functions ==================== .. note:: ``scalar`` is an alias type for either ``int`` or ``double``. .. _Ascent Functions Documentation: Functions --------- .. function:: avg(arg1) Return the average of an array. :noindex: :type arg1: array :param arg1: :rtype: double .. function:: avg(arg1) Return the field average of a field. :noindex: :type arg1: field :param arg1: :rtype: double