pystencils.sympyextensions.math.complete_the_squares_in_exp#
- pystencils.sympyextensions.math.complete_the_squares_in_exp(expr, symbols_to_complete)#
Completes squares in arguments of exponential which makes them simpler to integrate.
Very useful for integrating Maxwell-Boltzmann equilibria and its moment generating function