Updates:
Status: Fixed
Comment #15 on issue 1188 by Vinzent.Steinberg: integrate(1/sin(x)**2,x)
fails
http://code.google.com/p/sympy/issues/detail?id=1188
http://git.sympy.org/?p=sympy.git;a=commit;h=22eecd88cd5993afcf60e381ef70858cfdd62467
--
You received this message because you
Status: Accepted
Owner: asmeurer
Labels: Type-Defect Priority-Medium
New issue 1429 by asmeurer: matches fails to match differential equation
http://code.google.com/p/sympy/issues/detail?id=1429
See this thread:
http://groups.google.com/group/sympy/browse_thread/thread/d1ca8352bcb187a8
a =
Attached is the code that allows you to use solve with equations that
have Symbol, Function, or Derivative instances in them.
It passed all tests on my machine. Let me know if there are any problems.
I will be working on a similar patch to do the same thing for diff()
Thanks,
~Luke
On Wed, May 20, 2009 at 10:54 PM, Aaron S. Meurer asmeu...@gmail.com wrote:
I wrote a function for dsolve that is very complex and should be well
tested, but it is also very specialized (making it more modular would
require much more work), so I don't necessarily want it showing up in
Hello,
I would like to integrate a custom functions but the following code
doesn't work.
Christophe.
import sympy
x = sympy.Symbol('x')
f = x**3+4*x+1/x
print sympy.integrate(f,x)
--~--~-~--~~~---~--~~
You received
It worked for me in the stable build, as well as in the git repository:
import sympy
x = sympy.Symbol('x')
f = x**3+4*x+1/x
print sympy.integrate(f,x)
log(x) + 2*x**2 + 1/4*x**4
What output are you getting, and what versions of Python and SymPy are
you using?
Aaron Meurer
On May
Hello,
I use Python 26, and the installation was made with
sympy-0.6.4.win32.exe. I'm under Windows XP.
Christophe.
PS : here is the output.
***
File
On Thu, May 21, 2009 at 10:38 AM, Christophe projet...@gmail.com wrote:
Hello,
I use Python 26, and the installation was made with
sympy-0.6.4.win32.exe. I'm under Windows XP.
Christophe.
PS : here is the output.
On Thu, May 21, 2009 at 10:47 AM, Ondrej Certik ond...@certik.cz wrote:
On Thu, May 21, 2009 at 10:38 AM, Christophe projet...@gmail.com wrote:
Hello,
I use Python 26, and the installation was made with
sympy-0.6.4.win32.exe. I'm under Windows XP.
Christophe.
PS : here is the output.
OK. My stable version was actually 0.6.3.
Aaron Meurer
On May 21, 2009, at 11:47 AM, Ondrej Certik wrote:
On Thu, May 21, 2009 at 10:38 AM, Christophe projet...@gmail.com
wrote:
Hello,
I use Python 26, and the installation was made with
sympy-0.6.4.win32.exe. I'm under Windows XP.
Thanks a lot.
Christophe.
Ondrej Certik a écrit :
On Thu, May 21, 2009 at 10:38 AM, Christophe projet...@gmail.com wrote:
Hello,
I use Python 26, and the installation was made with
sympy-0.6.4.win32.exe. I'm under Windows XP.
Christophe.
PS : here is the output.
Does anybody use solve() by passing the function and/or the symbol
arguments as a set, rather than a list or a tuple?
I can't see a reason why using it with a set would be beneficial, and
without support for sets, there are some aspects of solve that would
become easier with regard to being able
Hi,
I need the div and curl operators in sympy, 3D is enough. I am
attaching a simple script, that takes the vector potential A,
calculates B and then div B:
A:
[0, 0, 16*x**2*y**2*(1 - x)**2*(1 - y)**2]
B:
[-16*x**2*y**2*(1 - x)**2*(2 - 2*y) + 32*y*x**2*(1 - x)**2*(1 - y)**2,
16*x**2*y**2*(1 -
Alan Bromborsky wrote:
Ondrej Certik wrote:
Hi,
I need the div and curl operators in sympy, 3D is enough. I am
attaching a simple script, that takes the vector potential A,
calculates B and then div B:
A:
[0, 0, 16*x**2*y**2*(1 - x)**2*(1 - y)**2]
B:
[-16*x**2*y**2*(1 - x)**2*(2 -
On Thu, May 21, 2009 at 6:58 PM, Alan Bromborsky abro...@verizon.net wrote:
Ondrej Certik wrote:
Here's the code (attached):
Wow, that was quick. Here is the output of it:
A = (16*x**2*y**2*(1 - x)**2*(1 - y)**2)e_z
B = curl(A) = (-16*x**2*y**2*(1 - x)**2*(2 - 2*y) + 32*y*x**2*(1 -
x)**2*(1 -
Alan Bromborsky wrote:
Alan Bromborsky wrote:
Ondrej Certik wrote:
Hi,
I need the div and curl operators in sympy, 3D is enough. I am
attaching a simple script, that takes the vector potential A,
calculates B and then div B:
A:
[0, 0, 16*x**2*y**2*(1 - x)**2*(1 - y)**2]
B:
I tried the following,
a = Wild('a', exclude=[f(x).diff(x)])
b = Wild('b', exclude=[f(x).diff(x)])
eq = x+f(x) - (x - f(x))*diff(f(x), x)
r = eq.match(a+b*diff(f(x),x))
r is None. I need it to be{a:x+f(x), b:-(x-f(x))}. This works for
other things similarly formatted, for example:
On Thu, May 21, 2009 at 7:33 PM, Aaron S. Meurer asmeu...@gmail.com wrote:
I tried the following,
a = Wild('a', exclude=[f(x).diff(x)])
b = Wild('b', exclude=[f(x).diff(x)])
eq = x+f(x) - (x - f(x))*diff(f(x), x)
r = eq.match(a+b*diff(f(x),x))
r is None. I need it to
http://code.google.com/p/sympy/issues/detail?id=1429
Aaron Meurer
On May 21, 2009, at 8:36 PM, Ondrej Certik wrote:
On Thu, May 21, 2009 at 7:33 PM, Aaron S. Meurer
asmeu...@gmail.com wrote:
I tried the following,
a = Wild('a', exclude=[f(x).diff(x)])
b = Wild('b',
19 matches
Mail list logo