The sum function#
Aliases#
halerium.core.sum
halerium.core.math.sum
- sum(operand, axis=None, keepdims=False)#
Sum of elements along specified axis.
- Parameters:
operand – The operand whose elements to sum
axis (None, int, tuple of ints) – The axis or axes along which to sum.
keepdims (bool) – Whether to keep the reduced axis with dimensions size one.
- Returns:
operator – The halerium Operator representing the operation.
- Return type: