grid.integrate_product#

grid.integrate_product(arr, arr_2)#

Integrates the product of two arrays on the atomic grid. This method should be used as it is around 3 times faster as using integrate with the product as an argument

Parameters:
  • arr (ndarray) – The array to be multiplied and integrated

  • arr_2 (ndarray) – The array to be multiplied and integrated

Returns:

Int – the integral