On Dec 7, 5:09 am, smichr wrote:
> The web page cited shows a few of the recurrence relationships solved,
> so perhaps that is an option. I don't do much with this so don't
> really know what needs to be done to solve those and whether sympy's
> library might be of use.
We have rsolve() which doe
On Sun, Dec 6, 2009 at 11:39 PM, Aaron S. Meurer wrote:
> p(n, k) (as per MathWorld) gives the number of partitions of n with no
> numbers greater than k, but according to the original post, you want the
> number of partitions with no numbers less than k, so it probably isn't the
> same.
Aaron
On Dec 6, 6:16 pm, "Aaron S. Meurer" wrote:
> Also, I'm assuming we need to go through all of the Milestone-Release0.6.6
> issues [1], and either fix them or postpone them. For example, I think we
> should see if we can fix the --random test failures (I narrowed one down in
> issue 1747), thou
I'm getting a failure on windows which is kind of weird as it is
complaining about True:
__ sympy\queries\tests\test_query.py:test_type_extensibility
___
File "c:\documents and settings\chris\sympy\sympy\queries\tests
\test_query.py", line 963, in test_type_extensibility
asse
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
On Sun, Dec 6, 2009 at 6:35 AM, Vinzent Steinberg
wrote:
> If you want to help, you can have a look at the remaining patches to
> be reviewed [1] or improve existing patches [2], thanks!
>
> Vinzent
>
> [1] http://code.google.com/p/sympy/issues/list?q=NeedsReview
I reviewed all patches here.
> [
Hi,
Following porblem I met.
import sympy
x = sympy.symbols('x')
f = 'pow(x,2)'
g = sympy.diff(f,x)
print g
g1= sympy.diff(pow(x,2),x)
print g1
g outputs D(pow(x, 2), x)
g1 is 2*x
g1 is all right, but g is wrong.
if f='sin(x)', g =con(x) and it is correct.
Why f = 'pow(x,2)' can't give correc
On Mon, Dec 7, 2009 at 5:57 PM, czbebe wrote:
> Hi,
>
> Following porblem I met.
>
> import sympy
> x = sympy.symbols('x')
> f = 'pow(x,2)'
> g = sympy.diff(f,x)
> print g
> g1= sympy.diff(pow(x,2),x)
> print g1
>
> g outputs D(pow(x, 2), x)
> g1 is 2*x
>
> g1 is all right, but g is wrong.
>
> if
Le lundi 07 décembre 2009 à 18:25 -0800, Ondrej Certik a écrit :
> That's because there is no "pow" function in sympy, so sympify just
Nevertheless:
In [1]: pow(x, 2)
Out[1]:
2
x
That's because pow is a Python builtin. sympify should probably be aware
of that.
--
You received this message
Le mardi 08 décembre 2009 à 00:39 +0200, Priit Laes a écrit :
> 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:
>
Thanks Ondrej,
>I strongly suggest not to use this string syntax
I am sorry, but I want to get the derivatives of general equation
including some functions, exp, sin/cos/tan, and pow and so on.
It is given by a string variable.
import sympy
x = sympy.symbols('x')
f = pow(x,2)
g = sympy.diff(f,x)
2009/12/7 czbebe :
> Thanks Ondrej,
>
>>I strongly suggest not to use this string syntax
>
> I am sorry, but I want to get the derivatives of general equation
> including some functions, exp, sin/cos/tan, and pow and so on.
> It is given by a string variable.
>
> import sympy
> x = sympy.symbols('x
12 matches
Mail list logo