Hey!
Recently I added a comment about missing copyright/licensing information
in some files and this stirred up a small discussion on IRC.
Anyway, my proposal was to add following header to all sympy modules:
[snip]
# -*- coding: utf-8 -*-
package.module
~~
A brief
Hi,
Does it make sense to move Commutator (currently defined in
sympy/physics/secondquant) to a bit more general place (like
sympy/physics)?
And is current implementation also good enough for adding it an
alternative LieBracket name?
Cheers,
Priit ;)
--
You received this message because you
Ühel kenal päeval, R, 2010-07-16 kell 03:00, kirjutas smichr:
Hi all,
I have a lot of work that I have separated out into about 35 issues.
The work deals with everything from minor editing of code, to handling
of non-commutatives in simplifications and (hopefully) a total purge
of
Ühel kenal päeval, L, 2010-03-27 kell 07:41, kirjutas Toon Verstraelen:
Hello,
Could someone please review the patches of issue1356?
http://code.google.com/p/sympy/issues/detail?id=1356
IMHO, it would be more pythonic if it returns ValueError instead of
TypeError when it encounters invalid
Ühel kenal päeval, L, 2010-03-27 kell 08:58, kirjutas Toon Verstraelen:
Priit Laes wrote:
IMHO, it would be more pythonic if it returns ValueError instead of
TypeError when it encounters invalid kwarg.
A TypeError is what python raises when wrong keyword arguments are given
Ühel kenal päeval, K, 2010-03-17 kell 17:51, kirjutas Ondrej Certik:
On Wed, Mar 17, 2010 at 5:21 PM, Aaron Meurer asmeu...@gmail.com wrote:
I was actually referring to Priit's branch, but I guess polys will need to
fixed too. :)
I pushed my rebased branch to
Hey!
Now that auditing support is in master, I went out there and picked some
low-hanging fruit (unused imports) from the long list of issues reported
by audit tool:
70 files changed, 87 insertions(+), 153 deletions(-)
From 545 warnings to 349 ;)
Branch is here:
Ühel kenal päeval, K, 2010-03-10 kell 15:08, kirjutas Brian Granger:
Hi,
I have improved the Piecewise class and implemented B-splines. Here
is the branch on github:
http://github.com/ellisonbg/sympy/tree/bg-piecewise
It might be offtopic, but Github has implemented nice branch compare
Ühel kenal päeval, P, 2010-03-07 kell 14:07, kirjutas Kasun
Samarasinghe:
hi,
I have attached the patch with this for rabin's test for
irreducibility test. Please give me some comments on that.
+def gf_irreducible_rabin(f, p, K):
+Test for the irreducibility of a polynomial over
function. The result is
that tests that have @XFAIL show up as func_wrapper in bin/test -v.
For example:
Nice catch,
Please check out
functools.update_wrapper(...) and functools.wraps(...)
http://docs.python.org/library/functools.html
--
Priit Laes
--
You received this message because you
Hey!
What would be a good exception to use instead of ArgumentIndexError ?
The implementation for this exception has been moved a long time ago (I
couldn't find it at least in git tree), but there's still some code left
that is utilizing it :S
It would be nice if we could get this issue fixed
Hey :)
Today I discovered a nice little program called PyFlakes
First you need to install =pyflakes-0.4
Then either check out the 'pyflakes' branch from
git://github.com/plaes/sympy.git
or apply this patch:
http://github.com/plaes/sympy/commit/1456c6129a3bfa4e200d3ac65fec20b857f95975
Now
Ühel kenal päeval, T, 2009-11-10 kell 23:26, kirjutas Vinzent Steinberg:
2009/11/9 Vinzent Steinberg vinzent.steinb...@googlemail.com
Nice to see you back!
Patch looks good so far, however I just noticed that my
xdg-open insists to use Firefox for pdfs...
Ühel kenal päeval, T, 2009-11-10 kell 23:26, kirjutas Vinzent Steinberg:
2009/11/9 Vinzent Steinberg vinzent.steinb...@googlemail.com
Nice to see you back!
Patch looks good so far, however I just noticed that my
xdg-open insists to use Firefox for pdfs...
Ühel kenal päeval, K, 2009-11-11 kell 14:22, kirjutas Vinzent Steinberg:
2009/11/11 Priit Laes plaes...@gmail.com
Ühel kenal päeval, T, 2009-11-10 kell 23:26, kirjutas Vinzent
Steinberg:
2009/11/9 Vinzent Steinberg
vinzent.steinb
...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/sympy-patches?hl=en
-~--~~~~--~~--~--~---
From 0bdcb1052079fdc1fd3d397bccc6511f266ee790 Mon Sep 17 00:00:00 2001
From: Priit Laes pl...@plaes.org
Date: Sun, 8 Nov 2009 18:58:02 +0200
Following patch fixes two typos, one of them a bit more serious...
From 69bef9ea428df309fa04d888c00b43858b1b8a1c Mon Sep 17 00:00:00 2001
From: Priit Laes pl...@plaes.org
Date: Mon, 13 Jul 2009 23:06:29 +0300
Subject: [PATCH] Fix two typos, one functional, one in comment.
Signed-off-by: Priit
Ühel kenal päeval, L, 2009-07-11 kell 13:25, kirjutas Alan Bromborsky:
Aaron S. Meurer wrote:
On Jul 11, 2009, at 6:59 AM, Priit Laes wrote:
I also introduced one bug with manual as GA.extend() function is
hijacking the regular extend() function's id, so the link does not
work
While trying to figure out the cause of bug #1527, I noticed some
low-hanging stuff that could be easily fixed.. :)
While looking around in sympy/core/function.py I noticed it contains
bunch of extend*() functionality, which IMHO does not belong there.
So I decided to move all these functions
Ühel kenal päeval, L, 2009-07-11 kell 10:24, kirjutas Fabian Pedregosa:
Ondrej Certik wrote:
Hi,
My solution for bringing queries out of the core (I think it's a similar
problem) was also to consider handler you can add/remove at runtime.
There was a resolution problem, which I solved
Hey!
Can someone confirm, that code below is valid and I am not abusing
anything? :)
#!/usr/bin/python
from sympy import *
F = Function('F')
x, y, t = symbols('x y t')
a = Symbol('a', Real=True)
eq = Derivative(F(x, t), x)
pat = -33*t*x + F(x + exp(-t))
sub = eq.subs(F(x, t), pat)
print Fails
Ühel kenal päeval, K, 2009-07-08 kell 19:04, kirjutas David Joyner:
On Wed, Jul 8, 2009 at 4:31 PM, Priit Laesplaes...@gmail.com wrote:
Hey,
For the past week I have been trying to figure out how to implement
solver for most basic types of PDEs and now it is finally time to show
Ühel kenal päeval, K, 2009-07-08 kell 19:04, kirjutas David Joyner:
On Wed, Jul 8, 2009 at 4:31 PM, Priit Laesplaes...@gmail.com wrote:
Hey,
For the past week I have been trying to figure out how to implement
solver for most basic types of PDEs and now it is finally time to show
Ühel kenal päeval, K, 2009-07-08 kell 19:04, kirjutas David Joyner:
On Wed, Jul 8, 2009 at 4:31 PM, Priit Laesplaes...@gmail.com wrote:
Hey,
For the past week I have been trying to figure out how to implement
solver for most basic types of PDEs and now it is finally time to show
Hey,
For the past week I have been trying to figure out how to implement
solver for most basic types of PDEs and now it is finally time to show
something:
In [1]: from sympy import *
In [2]: from sympy.solvers.solvers import *
In [3]: from sympy import Derivative as D
In [4]: t,x,y,z =
Ühel kenal päeval, T, 2009-07-07 kell 13:28, kirjutas Christophe:
Aaron S. Meurer a écrit :
Interval(3, 4, endpoints='oc'), which would create (3, 4] ('oc' stands
for open-closed).
How about using '[' for closed and ']' instead of 'o' and 'c'? I find
'[]' or '][' a bit more intuitive,
Ühel kenal päeval, T, 2009-07-07 kell 00:03, kirjutas Ondrej Certik:
On Mon, Jul 6, 2009 at 1:47 PM, Priit Laesplaes...@gmail.com wrote:
Hey!
While trying to implement method of characteristics, I ran into a
following problem:
I get (choose) following system of characteristic
Hey!
While trying to implement method of characteristics, I ran into a
following problem:
I get (choose) following system of characteristic equations as a
solution for PDE [ D(u(x, t), t) + a*D(u(x, t), x) == 0 ]:
dx/ds = a ; dt/ds = 1 ; dz/ds = 0
Now, after solving these equations I have a
Noticed today, that some of the upper case characters were not showing
in latex output...
Author: Priit Laes pl...@plaes.org
Date: Tue Jun 30 23:53:10 2009 +0300
Add some missing Greek characters.
Signed-off-by: Priit Laes pl...@plaes.org
diff --git a/sympy/printing/latex.py b
Ühel kenal päeval, L, 2009-06-27 kell 09:58, kirjutas David Joyner:
On Sat, Jun 27, 2009 at 9:53 AM, Priit Laesplaes...@gmail.com wrote:
Very cool! When will theis get rolled into the main release so
I don't have to use git to try it out? Also, can you automate the
solution to D(T(t), t,
Ühel kenal päeval, N, 2009-06-04 kell 13:20, kirjutas Alan Bromborsky:
Gael Varoquaux wrote:
On Thu, Jun 04, 2009 at 09:13:52AM -0400, Alan Bromborsky wrote:
When I enter python setup.py build_sphinx in the sympy directory I get
error: invalid command 'build_sphinx'
Ühel kenal päeval, R, 2009-05-22 kell 01:46, kirjutas Oyster:
is there a way to do so?
thanx
from sympy import *
X,Y=symbols('XY')
z=conjugate(X+Y*I)
integrate(z, [X, -1, 1], [Y,-1,1])
Although sympy doesn't yet know how to handle these :(
Ühel kenal päeval, K, 2009-05-20 kell 19:21, kirjutas Robert Kern:
On Wed, May 20, 2009 at 19:08, Luke hazelnu...@gmail.com wrote:
How can I most quickly determine the filename and path that a specific
sympy function lives in? For example, if I
from sympy import trigsimp
With any
Ühel kenal päeval, P, 2009-05-17 kell 22:49, kirjutas Ondrej Certik:
Hi,
solve(whatever) return a list of dicts. You can find lots of examples here:
It should also handle lists with infinite amount of solutions:
Currently we miss some of the solutions:
In [30]: solve(cos(pi*x), x)
Out[30]:
Ühel kenal päeval, N, 2009-05-14 kell 23:32, kirjutas Ondrej Certik:
Hi,
please review my spherical bessel patches:
I didn't check the math part, but in the jn_zeros() docstring there's
method = sympy instead of scipy in one place.
Priit :)
Ühel kenal päeval, N, 2009-05-14 kell 10:53, kirjutas Aaron S. Meurer:
I thought I already sent in a patch to fix this.
Yes, but for some reason it was not applied... :(
But this patch also adds solver for this extra case where bernoulli's
solution cannot be used.
/sympy-patches?hl=en
-~--~~~~--~~--~--~---
From b33806aa5e5e6cc14320dfe991f82cec2c70ad4b Mon Sep 17 00:00:00 2001
From: Priit Laes pl...@plaes.org
Date: Thu, 14 May 2009 18:28:59 +0300
Subject: [PATCH 2/2] Added test for issue #1406.
Signed-off-by: Priit Laes pl
, visit this group at
http://groups.google.com/group/sympy-patches?hl=en
-~--~~~~--~~--~--~---
From ffc4f78386316e5a876d7d83672b72319fa01140 Mon Sep 17 00:00:00 2001
From: Priit Laes pl...@plaes.org
Date: Sat, 11 Apr 2009 21:15:13 +0300
Subject: [PATCH 2/2] Added corner
Ühel kenal päeval, N, 2009-05-14 kell 07:11, kirjutas Alan Bromborsky:
I am afraid that is not the only problem for windows. There are lots of
little things like no 'rm' utility. I also tried to make the
documentation (make html) under Cywin and have gotten nowhere!
How about ask for
Ühel kenal päeval, P, 2009-05-10 kell 18:42, kirjutas Alan Bromborsky:
In rst for python-sphinx how do declare bold colored text. I have a
warning in my documentation that I really want to set off!
**Here be bold text**
http://sphinx.pocoo.org/rest.html#inline-markup
Of course, there's
I have added some patches to 'small-fixes' branch that is viewable on:
https://code.plaes.org/git/sympy.git/ and pullable using following url:
git://code.plaes.org/sympy.git
Branch: small-fixes
* Added corner case for Bernoulli equation.
There was a corner case in Bernoulli equation where n
On Apr 11, 11:14 pm, Ondrej Certik ond...@certik.cz wrote:
Hi Priit!
The patches look good to me. Could you add more tests for the
separable equation solver? Currently there is only one. Just commit
more patches in your branch.
Someone (I think Vincent) saw some problems there and I haven't
Hey,
Please take some time to look into my GSOC application:
at http://wiki.sympy.org/wiki/GSoC2009Application/PriitLaes
I am very happy if you can point out typos, bad wording, things that
need a better explanation and of course - please mention things that
sound impossible :)
Cheers,
Priit
On Mar 30, 8:55 pm, Ondrej Certik ond...@certik.cz wrote:
On Mon, Mar 30, 2009 at 8:04 AM, Priit Laes plaes...@gmail.com wrote:
On Mar 30, 4:24 pm, David Joyner wdjoy...@gmail.com wrote:
Very interesting.
I will try to add these details to my application.
Yes, ping us when
Hey!
I played a bit with sympy and when trying to solve some quasilinear
differential equations, but had to first make sure that sympy can handle
some simpler forms of PDEs.
The patches can be seen from:
https://code.plaes.org/git/sympy/log/?h=pde-upstream
Cheers,
Priit :)
Why not fix the cause, instead of hiding the problem:
diff --git a/sympy/solvers/solvers.py b/sympy/solvers/solvers.py
index 60a1ef5..6d97225 100644
--- a/sympy/solvers/solvers.py
+++ b/sympy/solvers/solvers.py
@@ -584,7 +584,7 @@ def solve_ODE_first_order(eq, f):
n = Wild('n',
as a coordinator of
Estonian Translation team for GNOME translation project.
Cheers,
Priit Laes ;)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
sympy group.
To post to this group, send email to sympy@googlegroups.com
Ran into another problem with simplify()..
Fix here: http://plaes.org/files/2009-Q1/sympy-exp-and-simplify.patch
In [1]: simplify(exp(1)+exp(-exp(1)))
---
TypeError Traceback (most recent call
Patch here: http://plaes.org/files/2009-Q1/sympy-fix-asin-integral.patch
Previously sympy failed to integrate things like this:
In [3]: integrate(1/sqrt(9 + 4*x**2), x)
Out[3]:
⌠
⎮ 1
⎮ ─ dx
⎮⎽⎽
⎮ ╱2
⎮ ╲╱ 9 + 4⋅x
⌡
With patch applied:
In [1]:
On Feb 26, 6:57 pm, Ondrej Certik ond...@certik.cz wrote:
On Thu, Feb 26, 2009 at 8:52 AM, Priit Laes plaes...@gmail.com wrote:
Yesterday I ran into some trouble when trying to integrate a simple
integral that should return atan(x). I also found an open bug about
this topic:http
Hi!
Sympy -
Today I wanted to do some matrix algebra homework but ran into trouble
as it seems that matrix multiplication with different dimension
matrixes/vectors does not work:
P = Matrix([1, 0, 2]) # Vector P=(1, 0, 2)
M = Matrix([ 1/2, 0, 1/2], [0, sqrt(3)/2, 0], [1/2, 0, sqrt(3)/2])
T =
51 matches
Mail list logo