tacco.utils.divide

divide(a, b, out=None, parallel=True)[source]

Calculates division out = a / b.

Parameters:
  • a – A ndarray with at least 1 dimension

  • b – A ndarray with at least 1 dimension of the same shape as a

  • out – A ndarray with at least 1 dimension of the same shape as a. If None, the result is returned.

Returns:

A ndarray containing the result.