Showing posts with the label python

[FIXED] sympy .subs() built-in function doesn't work

Issue I'm trying to implement the multivariate chain rule using python, when I try to substitut…

[FIXED] How do I compute derivative of a lambda expression using Sympy?

Issue How to compute a lambda expression's derivative ? For example: func = lambda x: x ** 3 …

[FIXED] How do you take a partial derivative symbolically in sympy while holding a parameter constant/having a fixed parameter?

Issue I am trying to get a partial derivative in the form seen here on page 2 in

[FIXED] Numpy or SciPy Derivative function for non-uniform spacing?

Issue I was wondering if numpy or scipy had a method in their libraries to find the numerical deriv…

[FIXED] Imposing derivatives in Scipy cubic spline

Issue I am using scipy cubic spline ("scipy.interpolate.CubicSpline") for 1-dimensional i…

[FIXED] Evaluate Derivative of Negative Log Likelihood Python

Issue I am trying to evaluate the derivative of the negative log likelihood functionin python. I am…

[FIXED] Solve System of Equations with Python Sympy

Issue I am trying to solve a system of two equations in Python using Sympy. This is bit trickier th…

[FIXED] finding the derivative of function using scipy.misc.derivative

Issue I'm having a problem that the function and its derivative should have the same value. The…