[sage-devel] Re: test if expression depends on another expression

2009-10-13 Thread ma...@mendelu.cz
On 13 říj, 16:08, rjf wrote: > Is x^2+3 free of x^6? > Ordinarily I would think that if E is free of v, then one could vary v > in any way, and not affect the value of E. > If one varies x^6, it is kind of difficult to keep x^2+3 constant. > > I suppose you could specify a program to search i

[sage-devel] Re: test if expression depends on another expression

2009-10-13 Thread rjf
Is x^2+3 free of x^6? Ordinarily I would think that if E is free of v, then one could vary v in any way, and not affect the value of E. If one varies x^6, it is kind of difficult to keep x^2+3 constant. I suppose you could specify a program to search in an expression to see if x^6 occurs as a d

[sage-devel] Re: test if expression depends on another expression

2009-10-11 Thread ma...@mendelu.cz
On 11 říj, 15:50, Burcin Erocal wrote: > > Does this work for you? Yes, thanks! > > Cheers, > Burcin --~--~-~--~~~---~--~~ To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel-unsubscr..

[sage-devel] Re: test if expression depends on another expression

2009-10-11 Thread Burcin Erocal
Hi Robert, On Sun, 11 Oct 2009 04:30:14 -0700 (PDT) "ma...@mendelu.cz" wrote: > Hello all, is there in Sage a function which tests, if expression1 > depends on expression2 ? > Something like Maxima's command freeof? Symbolic expressions have methods named find, match, has. > sage: x=var(