Ask Your Question

Luis Escudero's profile - activity

2023-11-13 07:55:33 +0200 received badge  Notable Question (source)
2023-11-13 07:55:33 +0200 received badge  Popular Question (source)
2019-03-12 17:22:15 +0200 received badge  Nice Question (source)
2019-03-11 19:01:31 +0200 received badge  Student (source)
2019-03-11 18:02:55 +0200 asked a question Evaluating a derivative of an unknown function

I need to evaluate the derivative of a certain unknown function, but instead of doing this what I get is the expression with a change in the name of the variable.

My example

z,l = var('z,l')  
g = function('g', nargs=1)(z)    
g_prime = g.derivative(z)(z)    
g_prime(l)

So the output for that code is \frac{\partial}{\partial l} g (l) .

Instead, I would like \frac{\partial}{\partial z} g(l)