Property :: variance - Calculate variance value for a collection
The function returns the variance for an attribute/expression for a collection. In case of an error, the function throws an exception.
Return value: Value ( odaba::Value & )
Value of any type.
Implementation details
odaba::Value
Property  :: variance ( odaba::String &sName )
The function calculates the variance for the attribute path or expression passed in sExpression over all instances in the collection. When a filter condition has been set, only instances filtered by condition are considered. The result is returned as double float point value.
The expression passed must be a valid property or expression in the context of the instances to be aggregated.
- sName - Name