Created
May 25, 2020 10:43
-
-
Save yoavram/61edd4a01f68fb8cdd908ed5bc05c366 to your computer and use it in GitHub Desktop.
A3: logaddexp
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
np.logaddexp calculates the expression effectively, without explicitly computing the intermediate exp values. If the power of exponential is high, exp value could exceed the integer range (with result inf), np.logaddexp solves this problem