[sympy] Re: defining a derivative

2016-11-11 Thread Riccardo Rossi
ping! any more possible feedback on this? thx in advance Riccardo On Friday, October 14, 2016 at 10:53:27 AM UTC+2, Riccardo Rossi wrote: > > Dear List, > > i am writing since i would like to define the output of the derivative of > a function, and i don't have a clue of

Re: [sympy] incorrect output when derivative respect to function, sometimes doit() give the corect answer, sometimes not

2016-10-24 Thread Riccardo Rossi
Could this be the same as the problem I see here? https://groups.google.com/forum/m/#!topic/sympy/ogz52F5Ol5c Regards Riccardo -- 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

Re: [sympy] defining a derivative

2016-10-17 Thread Riccardo Rossi
B076:~/data/examples$ python3 test_derivatives2.py - in eval -. Looks like here it is not creating the object ... s = s diff(s,e).doit() = 0 *and what is the worst... fdiff is NOT being called...*regards Riccardo On Monday, October 17, 2016 at 8:26:04 AM UTC+2, Riccardo

Re: [sympy] defining a derivative

2016-10-17 Thread Riccardo Rossi
Dear Aaron, your suggestion did work, HOWEVER i had to upgrade sympy to 1.0. It did nothing on 0.7.6 (the default one on ubuntu 16.04) only writing here to "document" this behaviour regards Riccardo -- You received this message because you are subscribed to the Google Groups "sympy" group.

Re: [sympy] defining a derivative

2016-10-16 Thread Riccardo Rossi
f the chain rule. For example, search > for "fdiff" in this file to see some examples for exp, log, and > LambertW > https://github.com/sympy/sympy/blob/master/sympy/functions/elementary/exponential.py. > > > > Aaron Meurer > > On Fri, Oct 1

[sympy] defining a derivative

2016-10-14 Thread Riccardo Rossi
Dear List, i am writing since i would like to define the output of the derivative of a function, and i don't have a clue of how to achieve it to explain what i wish to do, let's consider the following script from sympy import * u = symbols('u') der = symbols('der') e = symbols('e',

Re: [sympy] collecting common factors in a matrix

2015-12-01 Thread Riccardo Rossi
o: > http://docs.sympy.org/dev/gotchas.html#variables > > Jason > > > Jason > moorepants.info > +01 530-601-9791 > > On Sun, Nov 29, 2015 at 2:44 AM, Riccardo Rossi <roug...@gmail.com > > wrote: > >> Dear Thomas, >> >> the suggestion o

Re: [sympy] collecting common factors in a matrix

2015-11-29 Thread Riccardo Rossi
github.com/sympy/sympy/pull/7318. I remember that > this PR didn't work for all matrices (I guess matices including expressions > with sqrt(2)). If we find a better way to determine the common factor, I'll > update the PR. > > On Saturday, November 28, 2015 at 8:08:52 PM UTC+1, R

Re: [sympy] collecting common factors in a matrix

2015-11-28 Thread Riccardo Rossi
, Mateusz Paprocki wrote: > > Hi, > > On 27 November 2015 at 19:34, Riccardo Rossi <roug...@gmail.com > > wrote: > > Dear list, > > > > i am a newby to sympy, and i should say that i liked what i found, so > ... > > first of all kudos to the d

[sympy] collecting common factors in a matrix

2015-11-27 Thread Riccardo Rossi
Dear list, i am a newby to sympy, and i should say that i liked what i found, so ... first of all kudos to the developers. as of now i can succesfully generate my finite element matrices using sympy, which saves me quite a lot of work. the point is that now i would like to optimize a bit what