Status: Accepted
Owner: smichr
Labels: Type-Defect Priority-Medium
New issue 2053 by smichr: 2053 geometry upgrade
http://code.google.com/p/sympy/issues/detail?id=2053
It was pointed out that circle cannot find an intersection with a segment
at present. This commit fixes that and adds some
Comment #8 on issue 1926 by smichr: ode tweaks
http://code.google.com/p/sympy/issues/detail?id=1926
regarding the test...there are odes that wanted to traverse that code but
were not doing so before. Now they do. They weren't testing the code before
but now they are.
--
You received this
Updates:
Cc: Vinzent.Steinberg asmeurer
Comment #22 on issue 51 by smichr: RootOf for polynomial equations
http://code.google.com/p/sympy/issues/detail?id=51
Rather than opening a new issue I thought I would ask here whether factor
might benefit from replacing RootOf instances with
Comment #23 on issue 51 by smichr: RootOf for polynomial equations
http://code.google.com/p/sympy/issues/detail?id=51
Strike that. In polys11 they are MUCH faster and of equivalent times.
--
You received this message because you are subscribed to the Google Groups
sympy-issues group.
To post
Updates:
Summary: is_number needs a new name (was is_number could do more)
Comment #2 on issue 2052 by smichr: is_number needs a new name
(was is_number could do more)
http://code.google.com/p/sympy/issues/detail?id=2052
Should is_number be renamed? Proving that an expression is a
Comment #3 on issue 2052 by asmeurer: is_number needs a new name
(was is_number could do more)
http://code.google.com/p/sympy/issues/detail?id=2052
Make is_number stupid and quick.
For smarter operation, call it is_constant(*vars), which applies diff(expr,
*vars).is_zero (and thus we just
Thanks in advance,I will do some test with this branch to see if it fit my
needs.I use sympy for my opensource cad application PythonCAD.Unfortunately I
do not have to much time to spend developing/patching sympy sorry for this .If
I will find something easy to patch I let you know.
OK, this is entered as issue 2053. The branch is at github/smichr/
geometry. It also has my issue 1960 commit that changes how
geometrical entities are printed.
--
You received this message because you are subscribed to the Google Groups
sympy group.
To post to this group, send email to
Hi,Do you think that we can make a sort of partnership between PythonCAD and
sympy ? I mean, I have a user interface made with pyqt and I use sympy for my
intersection unit measure ..Do you think that we can use PythonCAD for plotting
sympy object ?here you got some link to understand the
Shot in the dark, but if 1 means it will always just return result. If you
remove the entire if block, does it still not pickle? (then it isn't an
issue with the if)
On Tue, Sep 7, 2010 at 1:19 AM, smichr smi...@gmail.com wrote:
I need some extra eyes. I can't see how changing the if 1 to if 0
I never knew about that. It appears to be quite old (SymPy 0.6.4 or 0.6.3 or
something). Basically, anything in the GoogleCode svn is old and shouldn't be
used, except for history purposes.
Ondrej, did you ever plan on continuing to use pydoctor?
Aaron Meurer
On Sep 7, 2010, at 1:35 AM,
Also a shot in the dark, but maybe it doesn't like the function my(). Sorry,
but I have never used pickling before, so I can't really help much here.
Aaron Meurer
On Sep 7, 2010, at 6:10 AM, Christian Muise wrote:
Shot in the dark, but if 1 means it will always just return result. If you
On Tue, Sep 7, 2010 at 9:21 PM, Aaron S. Meurer asmeu...@gmail.com wrote:
I don't think it's possible to substitute just theta without concern for x,
but this should work
In [9]: f = Function('theta')(x)
In [10]: f
Out[10]: θ(x)
In [11]: expr = 6*f + x
In [12]: expr
Out[12]: x +
On Sun, Sep 5, 2010 at 11:55 PM, Aaron S. Meurer asmeu...@gmail.com wrote:
On Sep 5, 2010, at 8:26 PM, Aaron S. Meurer wrote:
On Sep 5, 2010, at 8:21 PM, Aaron S. Meurer wrote:
On Sep 1, 2010, at 2:48 PM, Ondrej Certik wrote:
On Wed, Sep 1, 2010 at 1:18 PM, Aaron S. Meurer
On Tue, Sep 7, 2010 at 10:26 AM, Ondrej Certik ond...@certik.cz wrote:
On Sun, Sep 5, 2010 at 11:55 PM, Aaron S. Meurer asmeu...@gmail.com wrote:
On Sep 5, 2010, at 8:26 PM, Aaron S. Meurer wrote:
On Sep 5, 2010, at 8:21 PM, Aaron S. Meurer wrote:
On Sep 1, 2010, at 2:48 PM, Ondrej Certik
On Tue, Sep 7, 2010 at 8:42 AM, Aaron S. Meurer asmeu...@gmail.com wrote:
I never knew about that. It appears to be quite old (SymPy 0.6.4 or 0.6.3 or
something). Basically, anything in the GoogleCode svn is old and shouldn't
be used, except for history purposes.
Ondrej, did you ever plan
On Tue, Sep 7, 2010 at 8:10 PM, Ondrej Certik ond...@certik.cz wrote:
On Tue, Sep 7, 2010 at 8:42 AM, Aaron S. Meurer asmeu...@gmail.com wrote:
I never knew about that. It appears to be quite old (SymPy 0.6.4 or 0.6.3
or something). Basically, anything in the GoogleCode svn is old and
On Sep 7, 2010, at 11:27 AM, Ondrej Certik wrote:
On Tue, Sep 7, 2010 at 10:26 AM, Ondrej Certik ond...@certik.cz wrote:
On Sun, Sep 5, 2010 at 11:55 PM, Aaron S. Meurer asmeu...@gmail.com wrote:
On Sep 5, 2010, at 8:26 PM, Aaron S. Meurer wrote:
On Sep 5, 2010, at 8:21 PM, Aaron S.
Well, can't you just do expr.subs(f, sin(x))? subs should work for anything
(assuming it makes sense).
Or maybe I still don't understand what you want to do.
Aaron Meurer
On Sep 7, 2010, at 10:45 AM, Rahul Siddharthan wrote:
On Tue, Sep 7, 2010 at 9:21 PM, Aaron S. Meurer asmeu...@gmail.com
On Sep 7, 2010, at 12:41 PM, Sebastian Haase wrote:
On Tue, Sep 7, 2010 at 8:10 PM, Ondrej Certik ond...@certik.cz wrote:
On Tue, Sep 7, 2010 at 8:42 AM, Aaron S. Meurer asmeu...@gmail.com wrote:
I never knew about that. It appears to be quite old (SymPy 0.6.4 or 0.6.3
or something).
On Tue, Sep 7, 2010 at 1:56 PM, Aaron S. Meurer asmeu...@gmail.com wrote:
On Sep 7, 2010, at 11:27 AM, Ondrej Certik wrote:
On Tue, Sep 7, 2010 at 10:26 AM, Ondrej Certik ond...@certik.cz wrote:
On Sun, Sep 5, 2010 at 11:55 PM, Aaron S. Meurer asmeu...@gmail.com wrote:
On Sep 5, 2010, at
The if 1 part just makes it not run the lower part of the routine,
i.e. it uses the original routine. When that is changed to 0 then it
runs the upper part; computes a result using the lower part; asserts
that the answers are the same and returns the answer.
Running the top part causes the
On Sep 7, 2010, at 3:33 PM, smichr wrote:
The if 1 part just makes it not run the lower part of the routine,
i.e. it uses the original routine. When that is changed to 0 then it
runs the upper part; computes a result using the lower part; asserts
that the answers are the same and returns the
OK, I think it's something that happens when expand is called. Perhaps
due to caching? If I put e = self.expand(mul=1) above the loop over
self.symbols then I get two errors. I go to the releveant code in test
pickling and print out the attribute and the values of a and b that
are being compared
Your function is f; f(x) is the function evaluated at a point, x. If
you want to target f as the the replacement you have to define f
separate from the (X) part:
f=Function('theta')
f(x)
theta(x)
_.subs(f, sin)
sin(x)
--
You received this message because you are subscribed to the Google
Different orderings in dictionaries is expected behavior and shouldn't be
causing any bugs (because the dictionary is basically an unordered container).
I really have a hard time understanding what is going on here actually.
By the way, going back to the original code, you shouldn't be calling
In the place where the error occurs, you have a pre-pickle value, a,
and a post-pickle value b:
b = pickle.loads(pickle.dumps(a, protocol))
protocol varies over 0, 1, 2;
b is also computed with copy and deepcopy:
b = copy(a) or b = deepcopy(b)
The directories of a and b are computed and
If I understand correctly, it should be important that the pickled/copied
object has the same hash as the original.
Aaron Meurer
On Sep 7, 2010, at 4:29 PM, smichr wrote:
In the place where the error occurs, you have a pre-pickle value, a,
and a post-pickle value b:
b =
Oh, that does work. I originally thought that it wouldn't. So yeah, then,
subs should be able to do whatever you need it to.
Aaron Meurer
On Sep 7, 2010, at 4:15 PM, smichr wrote:
Your function is f; f(x) is the function evaluated at a point, x. If
you want to target f as the the
29 matches
Mail list logo