Comment #2 on issue 1487 by Toon.Verstraelen: fcode: print sympy
expressions as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
This set of patches (including the original patch) is a more serious
implementation
of fcode. These are the choices made:
- fcode in the global
Comment #15 on issue 1337 by Vinzent.Steinberg: find all instances in an
expression
http://code.google.com/p/sympy/issues/detail?id=1337
So just add it where you think it fits best. Maybe there where expand() (the
function, not the method) etc. live? It's up to you to choose. :)
--
You
Comment #7 on issue 1477 by goodrich.ben: Printing with double subscripts
http://code.google.com/p/sympy/issues/detail?id=1477
Much better than my original patch. Do you know how to fix prettyprint too?
The
original code in pretty_symbol() is a bit more complicated than the latex
case (or
Status: Accepted
Owner: ryanlists
Labels: Type-Defect Priority-Medium NeedsReview
New issue 1493 by ryanlists: factor a minus 1 out of fractions in simplify
http://code.google.com/p/sympy/issues/detail?id=1493
Added functionality to simplify so that a minus 1 is factored out of
the numerator
Status: New
Owner: plaes800
Labels: Type-Defect Priority-Medium
New issue 1494 by plaes800: eq.subs fails for Derivative(u(t)**2, t**2)
http://code.google.com/p/sympy/issues/detail?id=1494
Following code fails with traceback:
#!/usr/bin/python
from sympy import *
t = Symbol(t)
u, F =
Comment #6 on issue 1493 by ryanlists: factor a minus 1 out of fractions in
simplify
http://code.google.com/p/sympy/issues/detail?id=1493
I made the simplification you suggested and change the log to this:
###
Factor out -1 from fractions in simplify if
Updates:
Owner: ---
Labels: -Priority-Medium Priority-High
Comment #8 on issue 415 by fab...@fseoane.net: pow, sqrt: combine terms
http://code.google.com/p/sympy/issues/detail?id=415
Some of the issues reported here are solved. What remains to do still is
solve the
issue
Comment #7 on issue 1488 by ondrej.certik: failing doctests
http://code.google.com/p/sympy/issues/detail?id=1488
The patch looks good to me. If it works, push it in, please.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this
Status: Accepted
Owner:
Labels: Type-Defect Priority-Medium
New issue 1495 by ondrej.certik: minus problem
http://code.google.com/p/sympy/issues/detail?id=1495
There is a minus problem see here:
http://paste.blixt.org/109696
and here:
http://paste.blixt.org/113599
it needs to be
Comment #9 on issue 415 by ondrej.certik: pow, sqrt: combine terms
http://code.google.com/p/sympy/issues/detail?id=415
Indeed, that's a bug:
In [1]: H = S(1)/2
In [2]: H**H * sqrt(6)
Out[2]:
⎽⎽⎽
2⋅╲╱ 3
───
2
--
You received this message because you are listed in the owner
or CC
Updates:
Owner: ---
Labels: Assumptions
Comment #2 on issue 1384 by fab...@fseoane.net: assumptions docs are wrong
http://code.google.com/p/sympy/issues/detail?id=1384
(No comment was entered for this change.)
--
You received this message because you are listed in the owner
or
Updates:
Status: Fixed
Comment #8 on issue 1488 by fab...@fseoane.net: failing doctests
http://code.google.com/p/sympy/issues/detail?id=1488
done. Buildbots seem to be fixed now.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you
Comment #2 on issue 1492 by fab...@fseoane.net: Tests fail to run on Windows
http://code.google.com/p/sympy/issues/detail?id=1492
Looks good and works. +1 from me.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
Updates:
Status: Fixed
Comment #11 on issue 1377 by fab...@fseoane.net: MathML output for Integral
and Differentiate invalid
http://code.google.com/p/sympy/issues/detail?id=1377
I think those patches were pushed here
Updates:
Owner: fab...@fseoane.net
Cc: -ondrej.certik
Labels: -Milestone-Release0.6.5 Milestone-Release0.7.0
Comment #25 on issue 1306 by fab...@fseoane.net: Test the rst docs
http://code.google.com/p/sympy/issues/detail?id=1306
tests for python2.4 where fixed. Remains
Updates:
Status: Started
Comment #18 on issue 1434 by ondrej.certik: substitution doesn't work for
sqrt()
http://code.google.com/p/sympy/issues/detail?id=1434
I don't see tests for:
(-3)**(S(2)/3)
see comment #16.
--
You received this message because you are listed in the owner
or
Comment #4 on issue 1492 by abb...@gmail.com: Tests fail to run on Windows
http://code.google.com/p/sympy/issues/detail?id=1492
You can use James Abbatiello and abbeyj at gmail. Thanks!
--
You received this message because you are listed in the owner
or CC fields of this issue, or because
Updates:
Status: Fixed
Comment #5 on issue 1492 by ondrej.certik: Tests fail to run on Windows
http://code.google.com/p/sympy/issues/detail?id=1492
I rebased the patch to the latest HEAD and pushed in.
Thanks and good luck with unladen-swallow!
--
You received this message because you
Comment #1 on issue 1495 by ryanlists: minus problem
http://code.google.com/p/sympy/issues/detail?id=1495
I think Ondrej's version is right and mine is wrong: (-t-n*t)/n can extract
a minus
sign from the numerator. I step through could_extract_minus_sign using Pdb
and here
are the key
Comment #5 on issue 1487 by robert.dodier: fcode: print sympy expressions
as Fortran code
http://code.google.com/p/sympy/issues/detail?id=1487
Hi, I was asked to comment on this by Ryan.
* about throwing an exception when there is some unrecognized function: I
think
that's very clumsy,
Don't know if doing this just before a new beta release is good or bad,
but here it is. If it doesn't make it in, oh well.
Added functionality to simplify so that a minus 1 is factored out of
the numerator and denominator of fractions if possible. Several
changes also had to be made to the
Vinzent Steinberg wrote:
On Jun 25, 8:33 am, Toon Verstraelen toon.verstrae...@ugent.be
wrote:
In [15]: ccode(integrate(sin(x)/x,x))
Out[15]: Integral(sin(x)/x, x)
This should always raise an exception. Such a thing is never ever going
to be compilable.
We could use a library (maybe
On Thu, Jun 25, 2009 at 5:45 PM, Fabian Pedregosafab...@fseoane.net wrote:
Sympy 0.6.5.beta2 released
We are pleased to announce the release of SymPy 0.6.5.beta2 (yes, we
skipped beta1). This release has been marked by improved documentation,
C code generation, solve and dsolve
Hello,
the following code only gives [1] but I would also have the
multilplicity of the root 1 (which is 3) :
===
x = sympy.Symbol('x')
f = '(x-1)**3'
sympy.solve(f, x)
===
Is there a way to know that ?
Christophe.
--~--~-~--~~~---~--~~
On Jun 25, 6:36 pm, Aaron S. Meurer asmeu...@gmail.com wrote:
Also, the tutorial doesn't seem to mention using dir() to get a list
of all functions and classes and help(func) to get help on a class.
Let's also mention ?? and source() to get the source code of a
function.
Vinzent
Hello,
it seems that sympy doesn't know how to solve something like
-5*x**9+96*x**8-790*x**7+3623*x**6-10069*x**5+17250*x**4-17748*x**3+10395*x**2-3564*x+972
0
sympy gives [1/10 - I*19**(1/2)/10, 2, 3, 1/10 + I*19**(1/2)/10] the
roots of
On Jun 26, 8:35 am, Toon Verstraelen toon.verstrae...@ugent.be
wrote:
Vinzent Steinberg wrote:
On Jun 25, 8:33 am, Toon Verstraelen toon.verstrae...@ugent.be
wrote:
In [15]: ccode(integrate(sin(x)/x,x))
Out[15]: Integral(sin(x)/x, x)
This should always raise an exception. Such a
Hi Christophe,
On Fri, Jun 26, 2009 at 11:23:41AM +0200, Christophe wrote:
Hello,
the following code only gives [1] but I would also have the
multilplicity of the root 1 (which is 3) :
===
x = sympy.Symbol('x')
f = '(x-1)**3'
sympy.solve(f, x)
===
Is there a
Hello,
I would like to know if there is a sympy way to test is an expression is
a polynom of the variable x ?
Best regards.
Christophe.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sympy group.
To post to this
Hi,
On Fri, Jun 26, 2009 at 05:30:23PM +0200, Christophe wrote:
Hello,
I would like to know if there is a sympy way to test is an expression is
a polynom of the variable x ?
Best regards.
Christophe.
the simplest way to achieve this is to use Basic.is_polynomial method:
In [1]:
Hi,
On Fri, Jun 26, 2009 at 05:57:57PM +0200, Christophe wrote:
Thanks for that but I have a big problem. How to use all of that for f
and g which are strings ?
f = 'x**2 + 2*y*x + sin(z)'
g = 'x**2 + 2*y*x + sin(x)'
I need to work
Mateusz Paprocki a écrit :
Hi,
On Fri, Jun 26, 2009 at 05:57:57PM +0200, Christophe wrote:
Thanks for that but I have a big problem. How to use all of that for f
and g which are strings ?
f = 'x**2 + 2*y*x + sin(z)'
g = 'x**2 + 2*y*x + sin(x)'
Hello,
I am using Mathematica to solve a set of equations and it keeps
showing a error message FindRoot::jsing: Encountered a singular
Jacobian at the point {A1,A2,A3,Ea1,Ea2,Ea3} =
{-2629.39,758889.,4.12521*10^6,-19229.4,-21903.5,-71770.6}. Try
perturbing the initial point(s). .
The equations
nandan jha wrote:
Hello
I am trying to solve a set of non-linear equations in Mathematica 7.0
and every time it shows a error message :
FindRoot::jsing: Encountered a singular Jacobian at the point
{B1,B2,B3,Ea1,Ea2,Ea3} =
{31.501,0.9004,38.5013,-1000.1,-1000.01,-2000.1}. Try perturbing
I would recommend looking at scipy.optimize.fsolve(), as Alan
suggested. If you have a decent initial guess, it should work.
~Luke
On Jun 26, 9:43 am, Alan Bromborsky abro...@verizon.net wrote:
nandan jha wrote:
Hello
I am trying to solve a set of non-linear equations in Mathematica 7.0
On Fri, Jun 26, 2009 at 5:02 AM, Vinzent
Steinbergvinzent.steinb...@googlemail.com wrote:
On Jun 26, 8:35 am, Toon Verstraelen toon.verstrae...@ugent.be
wrote:
Vinzent Steinberg wrote:
On Jun 25, 8:33 am, Toon Verstraelen toon.verstrae...@ugent.be
wrote:
In [15]:
Hey Robert,
Is originality more important than usefulness when it comes to a
dissertation project? It feels like I have to come up with something
obscure that hardly anyone is going to use to develop something that I
feel could be useful to a range of people. Secondly, I feel like this
topic is
I noticed that some screwy things happen with symbols depending on how
you define them. For example
In [2]: x = Symbol('x', commutative = False)
In [3]: x.is_commutative; x._assumptions
Out[3]: False
Out[3]: {'comparable': False}
That's fine. But what happens if we add real = True/False:
In
On Jun 26, 2:18 pm, cjkogan111 cjkogan...@gmail.com wrote:
Is originality more important than usefulness when it comes to a
dissertation project?
Yes, from what I've seen in academia.
It feels like I have to come up with something obscure
that hardly anyone is going to use to develop
wflynny wrote:
I noticed that some screwy things happen with symbols depending on how
you define them. For example
In [2]: x = Symbol('x', commutative = False)
In [3]: x.is_commutative; x._assumptions
Out[3]: False
Out[3]: {'comparable': False}
That's fine. But what happens if we add
Hi,
I just wanted to make a quick survey how many sympy users still use python2.4?
Now even the stable version of Debian uses python2.5. Is there still a
major linux distribution that uses python2.4?
The real problem with python2.4 is that it doesn't support relative
imports and as such it's a
I guess we can wait and see what the results of this survey are, but I think
one more year is too long. If it is creating difficulties for sympy, I
think it can go.
On Fri, Jun 26, 2009 at 8:29 PM, Ondrej Certik ond...@certik.cz wrote:
Hi,
I just wanted to make a quick survey how many sympy
I am +1 for removing support for Python 2.4, if no one uses it.
Python 2.5 added quite a few language changes aside from just any()
and all() that could be useful [0], like the ternary operator and
better try syntax.
By the way, the latest version of Mac OS X (10.5, Leopard) comes with
I will be very grateful if anybody can tell me why I`m getting this
error:
raise TypeError(cannot create mpf from + repr(x))
TypeError: cannot create mpf from (nan, nan)
Full code:
from mpmath import *
from scipy.integrate import quad
mp.dps = '10'
def calkalicznik(r):
I use 2.6 and have never used 2.4 since I started using python 2 years
ago. Breaking sympy compatibility with python 2.4 is ok by me. It
seems like the users of sympy are probably the type who can update
more frequently than once every 3 years, so it doesn't seem like too
much of an issue.
On
sorry, I use py2.4 since I have installed too many libs on it over
these years
On 6月27日, 上午9时29分, Ondrej Certik ond...@certik.cz wrote:
Hi,
I just wanted to make a quick survey how many sympy users still use python2.4?
Now even the stable version of Debian uses python2.5. Is there still a
46 matches
Mail list logo