a732984b582e2869665c6448d35cad2c4178ad94,sympy/concrete/products.py,Product,_eval_derivative,#Product#Any#,402
Before Change
limits = list(self.limits)
if any(x in limit[1:].free_symbols for limit in reversed(limits)):
return None
return self * Sum(self.function.diff(x) / self.function, self._args[1:], **self.assumptions0)
def is_convergent(self):
r
See docs of :obj:`.Sum.is_convergent()` for explanation of convergence
After Change
return S.Zero
from sympy.concrete.summations import Sum, Dummy
i = Dummy("i")
f = self.function
limits = list(self.limits)
_, a, b = limits[0]
if any(x in limit[1:].free_symbols for limit in limits):
return None
return Sum(f.subs(_, i).diff(x) * Product(f, (_, a, i - 1)) * Product(f, (_, i + 1, b)), (i, a, b), **self.assumptions0)
def is_convergent(self):
r
See docs of :obj:`.Sum.is_convergent()` for explanation of convergence
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: sympy/sympy
Commit Name: a732984b582e2869665c6448d35cad2c4178ad94
Time: 2021-02-09
Author: harshityadav2k@gmail.com
File Name: sympy/concrete/products.py
Class Name: Product
Method Name: _eval_derivative
Project Name: flow-project/flow
Commit Name: 4e2a5cb241b8cd957a1ff08787c4304426dc4a86
Time: 2017-06-09
Author: eugenevinitsky@airbears2-10-142-37-84.airbears2.1918.berkeley.edu
File Name: cistar-dev/cistar/envs/lane_changing.py
Class Name: SimpleLaneChangingAccelerationEnvironment
Method Name: action_space
Project Name: flow-project/flow
Commit Name: 86f856e8a2ab52269e72923292cad3fc6f98e972
Time: 2017-05-31
Author: akreidieh@gmail.com
File Name: cistar-dev/cistar/envs/loop_accel.py
Class Name: SimpleAccelerationEnvironment
Method Name: observation_space