Hi,
I noticed, that if I click on this link in my Chrome:
http://docs.sympy.org/dev/tutorial.html#algebra
then it brings me to the "Algebra" section momentarily (for about 1/4
s or so), and then moves up.
I think it's because of the new javascript buttons which say "Run code
block in SymPy Live"
Hi,
Let's say that I have just first derivative (but I would like second
derivatives too later):
>>> f(x).diff(x)
d
──(f(x))
dx
and I would like to use the substitution y = 2*x**2 to transform the
derivative. Mathematically, here is how it works:
df/dx = df/dy * dy/dx = df/dy * 4*x
I can do t
Hello,
On Thu, Aug 30, 2012 at 10:15 AM, Ondřej Čertík wrote:
>
> I noticed, that if I click on this link in my Chrome:
>
> http://docs.sympy.org/dev/tutorial.html#algebra
>
> then it brings me to the "Algebra" section momentarily (for about 1/4
> s or so), and then moves up.
> I think it's becau
...
> other is f(y) = f(2*x**2).
>
> So I think that when I change the independent variable like this, I
> should also change the name of the function. What would be the best
> way to do that?
The whole thing or just this:
>>> f(x).subs(f, g)
g(x)
>>> f(x).replace(f,g)
g(x)
>>> f(x).xreplace({f:
I guess the bottom line is I'm wondering how to enter the generators
of the Rubik's cube group, eg at
http://www.gap-system.org/Doc/Examples/rubik.html
or
http://www.permutationpuzzles.org/rubik/webnotes/sm485_3b.txt
Is there an easy way to do that?
On Wed, Aug 29, 2012 at 7:11 PM, Chris Smith
On Thu, Aug 30, 2012 at 5:19 PM, David Joyner wrote:
> I guess the bottom line is I'm wondering how to enter the generators
> of the Rubik's cube group, eg at
>>> from sympy.combinatorics.generators import rubik_cube_generators
>>> gens = rubik_cube_generators()
A single one might be entered in
On Thu, Aug 30, 2012 at 9:25 AM, Chris Smith wrote:
> On Thu, Aug 30, 2012 at 5:19 PM, David Joyner wrote:
>> I guess the bottom line is I'm wondering how to enter the generators
>> of the Rubik's cube group, eg at
>
from sympy.combinatorics.generators import rubik_cube_generators
gens
Hi,
In the course of implementing kauers algorithm I wanted to implement a
function that can take as input a term like summation(f(x), (x, 1, k)) and
outputs the f(x+1) that is the difference between (f(x), (x, 1, k + 1))
and (f(x), (x, 1, k)). Instead, it just returns "summation(f(x), (x, 1,
>
> Permutation([(0, 2, 7, 5), (1, 4, 6, 3), (8, 32, 24, 16), (9, 33, 25,17),
> (10, 34, 26, 18)])
Sorry, enter that as
Permutation([(0, 2, 7, 5), (1, 4, 6, 3), (8, 32, 24, 16), (9, 33,
25,17), (10, 34, 26, 18)] , size=48)
--
You received this message because you are subscribed to the Google
On Thu, Aug 30, 2012 at 10:20 AM, Chris Smith wrote:
>>
>> Permutation([(0, 2, 7, 5), (1, 4, 6, 3), (8, 32, 24, 16), (9, 33, 25,17),
>> (10, 34, 26, 18)])
>
> Sorry, enter that as
>
> Permutation([(0, 2, 7, 5), (1, 4, 6, 3), (8, 32, 24, 16), (9, 33,
> 25,17), (10, 34, 26, 18)] , size=48)
Thank
On Thu, Aug 30, 2012 at 8:02 PM, Saurabh Jha wrote:
> Hi,
>
> In the course of implementing kauers algorithm I wanted to implement a
> function that can take as input a term like summation(f(x), (x, 1, k)) and
> outputs the f(x+1) that is the difference between (f(x), (x, 1, k + 1)) and
> (f(x),
On Thu, Aug 30, 2012 at 8:22 PM, David Joyner wrote:
> On Thu, Aug 30, 2012 at 10:20 AM, Chris Smith wrote:
>>>
>>> Permutation([(0, 2, 7, 5), (1, 4, 6, 3), (8, 32, 24, 16), (9, 33, 25,17),
>>> (10, 34, 26, 18)])
>>
>> Sorry, enter that as
>>
>> Permutation([(0, 2, 7, 5), (1, 4, 6, 3), (8, 32, 2
>
F = Permutation([(17,19,24,22),(18,21,23,20),( 6,25,43,16),( 7,28,42,13),(
8,30,41,11)], size=49)
B = Permutation([(33,35,40,38),(34,37,39,36),( 3, 9,46,32),( 2,12,47,29),(
1,14,48,27)], size=49)
L = Permutation([( 9,11,16,14),(10,13,15,12),( 1,17,41,40),( 4,20,44,37)
The question is, do we want Sum to automatically combine like that?
If not, then I would add it as a different method than __sub__.
Aaron Meurer
On Thu, Aug 30, 2012 at 8:51 AM, Chris Smith wrote:
> On Thu, Aug 30, 2012 at 8:02 PM, Saurabh Jha wrote:
>> Hi,
>>
>> In the course of implementing k
I just tried Firefox too, but I noticed that the Run buttons don't
even show up there (hence no jumps).
Also, the Live box starts out as open, which is a problem. This is
Firefox 15.0, the latest version. So I guess either we are using
non-standard things, or Firefox is a little out of date with
On Thu, Aug 30, 2012 at 12:41 AM, Juha Jeronen wrote:
> Hi,
>
> On 29/08/12 20:29, Ronan Lamy wrote:
>>>
>>> dir(S)
['Catalan', 'ComplexInfinity', 'EmptySet', 'EulerGamma', 'Exp1',
'GoldenRatio', 'Half', 'IdentityFunction', 'ImaginaryUnit',
'Infinity', 'Integers', 'NaN', 'Natura
Doesn't this call for some sort of Sum_simplify?
I don't like the idea of overriding __sub__. I do like the idea of looking
at an expression tree and seeing if it can be simplified. Is there a
mechanism in SymPy to write down these simplifications and have them
applied when you call simplify? I'm
On Thu, Aug 30, 2012 at 1:28 AM, Ondřej Čertík wrote:
> Hi,
>
> Let's say that I have just first derivative (but I would like second
> derivatives too later):
>
>
f(x).diff(x)
> d
> ──(f(x))
> dx
>
> and I would like to use the substitution y = 2*x**2 to transform the
> derivative. Mathematic
On Thu, Aug 30, 2012 at 10:28 PM, Aaron Meurer wrote:
> The question is, do we want Sum to automatically combine like that?
> If not, then I would add it as a different method than __sub__.
>
`_eval_expand_basic`, perhaps?
--
You received this message because you are subscribed to the Google Gr
This doesn't really make sense as expansion, though.
This is closely related to
http://code.google.com/p/sympy/issues/detail?id=2297.
Aaron Meurer
On Aug 30, 2012, at 12:37 PM, Chris Smith wrote:
> On Thu, Aug 30, 2012 at 10:28 PM, Aaron Meurer wrote:
>> The question is, do we want Sum to aut
On Fri, Aug 31, 2012 at 12:41 AM, Aaron Meurer wrote:
> This doesn't really make sense as expansion, though.
>
> This is closely related to
> http://code.google.com/p/sympy/issues/detail?id=2297.
>
If you expanded the sums you would obtain the single `f(x+1)`-like
term. It's just a thought and `
On Thu, Aug 30, 2012 at 11:47 AM, Chris Smith wrote:
>>
> F = Permutation([(17,19,24,22),(18,21,23,20),( 6,25,43,16),(
> 7,28,42,13),( 8,30,41,11)], size=49)
> B = Permutation([(33,35,40,38),(34,37,39,36),( 3, 9,46,32),(
> 2,12,47,29),( 1,14,48,27)], size=49)
> L = Permutat
On Thu, Aug 30, 2012 at 10:56 AM, Aaron Meurer wrote:
> On Thu, Aug 30, 2012 at 1:28 AM, Ondřej Čertík
> wrote:
>> Hi,
>>
>> Let's say that I have just first derivative (but I would like second
>> derivatives too later):
>>
>>
> f(x).diff(x)
>> d
>> ──(f(x))
>> dx
>>
>> and I would like to u
> There might even be some automated algorithm to do all the steps above
> and spit out the final coefficients "a", "b" and "x",
> but for now I am happy to do it explicitly.
Maybe like this?
>>> eq
2*Z*F(r) - 2*l*lam*F(r) + 2*l*Derivative(F(r), r) -
2*lam*r*Derivative(F(r), r) - 2*lam*F(r) + r*
Don't forget about the integral.transform method, too. It uses a
change of variables as I recall and it might provide some help.
--
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.
To unsubscribe
Okay, I see the problem with page position. I'll look into it.
In Firefox 14 and 15, there seems to be no position problem, but the run
button doesn't show up as described - there seems to be a minor difference
in the DOM. I'll look into this as well.
David Li
On Thursday, August 30, 2012 12:1
I am new to Sympy and started using it recently. I just have a doubt that
can we use Determinants and Crammers law to solve first degree simultaneous
equations using sympy? will it be faster/slower than the current
implementation in the module?
--
You received this message because you are subs
On Thu, Aug 30, 2012 at 2:56 PM, Chris Smith wrote:
>> There might even be some automated algorithm to do all the steps above
>> and spit out the final coefficients "a", "b" and "x",
>> but for now I am happy to do it explicitly.
>
> Maybe like this?
>
>
eq
> 2*Z*F(r) - 2*l*lam*F(r) + 2*l*Der
Cramer's method is useful for instructive purposes, and also for
theory, but practically, it is highly inefficient. The method used by
SymPy is Gaussian elimination, which is the most direct way to solve a
system of linear equations.
Of course, if you want to use SymPy to use Cramer's method, tha
Also, the settings appear below the prompt in Chrome and above it in
Firefox. Assumedly you intended for it to be below?
And by the way, clicking on a line to execute doesn't work in Firefox either.
But the biggest issue is the live box starting out open, because
that's really annoying.
Aaron M
On Thu, Aug 30, 2012 at 4:50 PM, Aaron Meurer wrote:
> Cramer's method is useful for instructive purposes, and also for
> theory, but practically, it is highly inefficient. The method used by
> SymPy is Gaussian elimination, which is the most direct way to solve a
> system of linear equations.
>
On Wed, Aug 29, 2012 at 12:54 PM, David M. Rogers
wrote:
> This has been implemented in the last 3 commits to:
> https://bitbucket.org/frobnitzem/sympy-cg
> $ git cherry-pick 894e2579e4a5..48d92278714b
Cool. I didn't know that you could cherry-pick a range of commits like that.
> I'll switch to
On Thu, Aug 30, 2012 at 6:00 PM, Ondřej Čertík wrote:
> On Thu, Aug 30, 2012 at 4:50 PM, Aaron Meurer wrote:
>> Cramer's method is useful for instructive purposes, and also for
>> theory, but practically, it is highly inefficient. The method used by
>> SymPy is Gaussian elimination, which is the
Okay, I fixed the Firefox problems. The buttons show up, clicking on a line
works, and the settings are below the prompt. I will change the CSS to
close the box by default and then work on the scroll problem. I'll set up a
pull request when possible.
David
On Thursday, August 30, 2012 4:54:45
Okay, pull request at https://github.com/sympy/sympy-live/pull/61
For some reason, I can't reproduce the scroll problem anymore.
David Li
On Thursday, August 30, 2012 12:15:20 AM UTC-7, Ondřej Čertík wrote:
>
> Hi,
>
> I noticed, that if I click on this link in my Chrome:
>
> http://docs.sympy
Hi,
On 30/08/12 02:43, Aaron Meurer wrote:
> On Wed, Aug 29, 2012 at 1:36 AM, Juha Jeronen wrote:
>> I think the functionality should be split into two parts:
>>
>>
>> 1) The automatic symbol list generation. This could be used as a default for
>> collect() and rcollect(), if no symbols are given
36 matches
Mail list logo