It's suggest to subclass Derivative if this feature is needed.
I'd like to know what d f(x)/d(x+1) means exactly. It isn't too easy to GOOGLE.
David
Why don’t you use the chain rule (d f(x) / dx) * (dx/d(x+1)). For first order derivative you can use the reciprocal therefore dx/d(x+1) = 1/(d(x+1)/dx).
Sent from Mail for Windows 10
From: David Bailey
Sent: 04 January 2020 16:36
To: sy...@googlegroups.com
Subject: Re: [sympy] Suggestion on Derivative and Expr._diff_wrt
On 04/01/2020 10:08, Francesco Bonazzi wrote:
It's suggest to subclass Derivative if this feature is needed.
I'd like to know what d f(x)/d(x+1) means exactly. It isn't too easy to GOOGLE.
David
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/3ee75111-deca-b796-b400-79068e928745%40dbailey.co.uk.
Why don’t you use the chain rule (d f(x) / dx) * (dx/d(x+1)). For first order derivative you can use the reciprocal therefore dx/d(x+1) = 1/(d(x+1)/dx).
Sent from Mail for Windows 10
From: David Bailey
Sent: 04 January 2020 16:36
To: sy...@googlegroups.com
Subject: Re: [sympy] Suggestion on Derivative and Expr._diff_wrt
On 04/01/2020 10:08, Francesco Bonazzi wrote:
It's suggest to subclass Derivative if this feature is needed.I'd like to know what d f(x)/d(x+1) means exactly. It isn't too easy to GOOGLE.
David
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sy...@googlegroups.com.
It's same as df(t)/dt, where t=x+1.
df(t)/dt where t=sin(x)
Given how easy it is to mistype input to sympy, I don't think
such an extension is such a good idea.
David
Then use simplistic rules of derivative like d(x+c) = dx, d(ax+c) = a dx.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/52688c3f-9ccc-483a-87be-063d65846560%40googlegroups.com.
Wrong if you want to use substitution then it should be df(t-1)/dt.
Sent from Mail for Windows 10
From: David Bailey
Sent: 04 January 2020 22:52
To: sy...@googlegroups.com
Subject: Re: [sympy] Suggestion on Derivative and Expr._diff_wrt
On 04/01/2020 13:08, mcpl snu wrote:
David
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sympy+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/d517dc5a-3939-48dd-9d53-db458822ac11%40dbailey.co.uk.
Wrong if you want to use substitution then it should be df(t-1)/dt.
Sent from Mail for Windows 10
From: David Bailey
Sent: 04 January 2020 22:52
To: sy...@googlegroups.com
Subject: Re: [sympy] Suggestion on Derivative and Expr._diff_wrt
On 04/01/2020 13:08, mcpl snu wrote:
It's same as df(t)/dt, where t=x+1.
Thanks, and I suppose that also generalises to expressions such as df(x)/d(sin(x))?
df(t)/dt where t=sin(x)
Given how easy it is to mistype input to sympy, I don't think such an extension is such a good idea.
David
--
You received this message because you are subscribed to the Google Groups "sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sy...@googlegroups.com.