Mani chandra wrote:
> Yes, the computation of the "select_mode" function does indeed
> succeed for simple expressions. But if you run the code, you will notice
> that it works for some modes which probably have more complicated
> expressions than the ones for which it breaks. Also the modes f
Hi,
just to tell you that even I have full usefullness of ETS-mayavi, I have
just tried to make a test
running Chaco's demo.py, and then, I can tell you that the problem I had when
building Enable spkg
had some unwanted consequences. Such Enable diagnose at the ending of Enable's
buildin
Hi John,
On Sun, Aug 16, 2009 at 4:55 AM, jds wrote:
>
> I'm using a local sage installation as my main python distribution, so
> I run "sage -sh" before doing any python work. If I download and
> install newer versions of the packages, e.g. networkx, which has some
> api changes in the new versi
On Sat, Aug 15, 2009 at 11:55 AM, jds wrote:
>
> I'm using a local sage installation as my main python distribution, so
> I run "sage -sh" before doing any python work. If I download and
> install newer versions of the packages, e.g. networkx, which has some
> api changes in the new versions, will
While computing some examples in HeckeAlgebraSymmetricGroupT I
discovered some errors. See the following example
sage: H=HeckeAlgebraSymmetricGroupT(QQ,3)
sage: T1=H.algebra_generators()[0]
sage: T1^-1
T[1, 2, 3]
sage: H.one_element()
T[1, 2, 3]
I would like to take the inverse of the generator
I'm using a local sage installation as my main python distribution, so
I run "sage -sh" before doing any python work. If I download and
install newer versions of the packages, e.g. networkx, which has some
api changes in the new versions, will this possibly break my sage
installation? Or does sage
On Sat, Aug 15, 2009 at 11:02 AM, Mani chandra wrote:
>
> William Stein wrote:
>> On Sat, Aug 15, 2009 at 5:44 AM, Mani chandra wrote:
>>
>>> Hi,
>>>
>>> I wrote a code in sage to construct a Low Dimensional model for the
>>> Magnetohydrodynamic equations to study dynamos etc... But the program
William Stein wrote:
> On Sat, Aug 15, 2009 at 5:44 AM, Mani chandra wrote:
>
>> Hi,
>>
>>I wrote a code in sage to construct a Low Dimensional model for the
>> Magnetohydrodynamic equations to study dynamos etc... But the program
>> crashes at different points on different machines with th
Robert Dodier wrote:
> Mani chandra wrote:
>
>
>> def select_mode(func,l,m,n):
>> val = (func*exp(-I*(l*x + m*y +
>> n*z))).integrate(x,0,2*pi).integrate(y,0,2*pi).integrate(z,0,2*pi)
>> return val/(8*pi**3)
>>
>
> I guess l, m, and n are some integers between -2 and 2.
> What is f
Mani chandra wrote:
> def select_mode(func,l,m,n):
> val = (func*exp(-I*(l*x + m*y +
> n*z))).integrate(x,0,2*pi).integrate(y,0,2*pi).integrate(z,0,2*pi)
> return val/(8*pi**3)
I guess l, m, and n are some integers between -2 and 2.
What is func? (I see the definition for it in the code
On Sat, Aug 15, 2009 at 5:44 AM, Mani chandra wrote:
> Hi,
>
> I wrote a code in sage to construct a Low Dimensional model for the
> Magnetohydrodynamic equations to study dynamos etc... But the program
> crashes at different points on different machines with the following error:
>
> Traceback
Hi Felix,
On Sat, Aug 15, 2009 at 11:06 PM, thelamecamel wrote:
>
> Hi Viny,
>
> The following works for me:
>
> def mmatosage(mma_list):
># Convert the mathematica object to a string
>string = repr(mma_list)
># Convert mathematica-style {} to python style []
>string = string.repl
Hi Viny,
The following works for me:
def mmatosage(mma_list):
# Convert the mathematica object to a string
string = repr(mma_list)
# Convert mathematica-style {} to python style []
string = string.replace('{','[').replace('}',']')
# Replace mathematica's crazy exponent notati
Hi,
I wrote a code in sage to construct a Low Dimensional model for the
Magnetohydrodynamic equations to study dynamos etc... But the program
crashes at different points on different machines with the following error:
Traceback (most recent call last):
File "./LowD_model.py", line 158, in
Hello everybody!
Thanks for your help.
I'm realizing that i'm definitely really bad in sage, perhaps i'll be
best in another life!!lol!
This is a piece of a code for changing a symbolic mathematica list
expression to a sage list expression:
def mmatosage(mma_list):
# Convert the mathematica
Hello everybody!
Thanks for your help.
I'm realizing that i'm definitely really bad in sage, perhaps i'll be
best in another life!!lol!
This is a piece of a code for changing a symbolic mathematica list
expression to a sage list expression:
def mmatosage(mma_list):
# Convert the mathematica
16 matches
Mail list logo