The prod function#

Aliases#

halerium.core.prod
halerium.core.math.prod
prod(operand, axis=None, keepdims=False)#

Product of elements along specified axis.

Parameters:
  • operand – The operand whose elements to multiply

  • axis (None, int, tuple of ints) – The axis or axes along which to multiply.

  • keepdims (bool) – Whether to keep the reduced axis with dimensions size one.

Returns:

operator – The halerium Operator representing the operation.

Return type:

halerium.core.operator.Prod