[sage-support] sage_eval

2010-02-15 Thread Viny
I'm working on two versions of sage: sage4.3.1 and sage4.1.1. The evaluation sage_stuff = sage_eval(string,locals=dico,preparse='False') where string contains a list of symbolic expressions, dico it's my dictionnary of variables, gives an error type with sage4.3.1 but work well with the version

[sage-support] Re: change a string to sage expression by sage_eval

2009-08-19 Thread Viny
,y], v[x,y], On 18 août, 11:02, Robert Bradshaw rober...@math.washington.edu wrote: On Aug 17, 2009, at 3:45 AM, Viny wrote: Hello! Is it possible to have the equivalent sage expression of the following string, by using sage_eval() or another function without getting this error in while

[sage-support] Re: change a string to sage expression by sage_eval

2009-08-19 Thread Viny
, at 12:48 AM, Viny wrote: Hi ! phi, v, u, Cxy are functions of  (x,y). I use the command sage_eval (string, locals = { 'E':E, 'u':u, 'v':u, 'phi'=phi, ..}). string it's the expression. It's the only way i found for chang it to expression but it generate an error. Perhaps this come

[sage-support] Re: change a string to sage expression by sage_eval

2009-08-19 Thread Viny
Hi, Thank you, the old idea you gave me to change '[' by ')' and ']' by ')' in the mathematica string is working. I'm trying now to change the limit memory of maxima. On 19 août, 11:10, Viny hje...@hotmail.com wrote: I have got the same problem of memory with maxima than Mani Chandra few

[sage-support] Re: change a string to sage expression by sage_eval

2009-08-19 Thread Viny
Thank you On 19 août, 11:10, Viny hje...@hotmail.com wrote: I have got the same problem of memory with maxima than Mani Chandra few days ago and I decided to make an interface to mathematica for solving the symbolic linear system which demand too much memory. The expression in my former mail

[sage-support] change a string to sage expression by sage_eval

2009-08-17 Thread Viny
, 0])/ E** phi[0, 0])/epsr) + (16*(Cxy[0, 1])] Cheers!! Viny --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options

[sage-support] Re: Interface to mathematica

2009-08-16 Thread Viny
in module() TypeError: unsupported operand type(s) for ** or pow(): 'str' and 'str' On 15 août, 15:06, thelamecamel thelameca...@gmail.com wrote: Hi Viny, The following works for me: def mmatosage(mma_list):     # Convert the mathematica object to a string     string = repr(mma_list

[sage-support] Re: Interface to mathematica

2009-08-15 Thread Viny
is your mathematica expression. -Marshall Hampton On Aug 14, 1:49 pm, Viny hje...@hotmail.com wrote: Thanks for your help Felix, with your ideas i made progresses. But the problem isn't fixe yet. Since i have some symbolic variable such 'dx' in my expressions, the code's line -- 500

[sage-support] Interface MMA

2009-08-15 Thread Viny
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

[sage-support] Re: Interface to mathematica

2009-08-14 Thread Viny
' is not defined Even when i put in the begining of my function var (dx), the problem stay. Thanks again On 14 août, 04:04, thelamecamel thelameca...@gmail.com wrote: Hi Viny, Sage's mathematica support at present seems to be geared towards sending data to mathematica and printing the results to the screen

[sage-support] Interface to mathematica

2009-08-13 Thread Viny
Hi, I have a problem of memory into maxima when it performs a symbolic expression of an hessian matrix. This symbolic expression of the hessian seems to be too big. My sage program is written using python. And i want to compute the hessian matrix with mathematica 6.0 in my sage file. I need to

[sage-support] Re: Interface to mathematica

2009-08-13 Thread Viny
On 13 août, 10:47, Viny hje...@hotmail.com wrote: Hi, I have a problem of memory into maxima when it performs a symbolic expression of an hessian matrix. This symbolic expression of the hessian seems to be too big. My sage program is written using python. And i want to compute the hessian

[sage-support] Re: Interface to mathematica

2009-08-13 Thread Viny
On 13 août, 12:26, Viny hje...@hotmail.com wrote: On 13 août, 10:47, Viny hje...@hotmail.com wrote: Hi, I have a problem of memory into maxima when it performs a symbolic expression of an hessian matrix. This symbolic expression of the hessian seems to be too big. My sage program

[sage-support] to print a mathematica element in sage element

2009-08-13 Thread Viny
Hi! I'm a beginer in sage-python I have done in my sage-python program a function which compute with mathematica the hessian H and the linear resolution of H*B. This function return the result X as a mathematica Element. But I can't manipulate easily this mathematica element. How can I print

[sage-support] Problem of memory

2009-08-12 Thread Viny
Hello, I'm a beginner in python and sage. I'm trying to solve a system of ODE by the newton method with python by sage. But i have a problem of memory with Lisp or Maxima when the hessian matrix is calculated. The process doesn't use the whole 12 giga RAM memory of my 64bits linux system and

[sage-support] Get sage.4.0.2

2009-08-11 Thread Viny
Hello! I'm a beginner in python and i want to use sage. But Where can i get sage.4.0.2 for 64bits. Thanks --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: Get sage.4.0.2

2009-08-11 Thread Viny
On 11 août, 11:55, Minh Nguyen nguyenmi...@gmail.com wrote: Hi, On Tue, Aug 11, 2009 at 7:51 PM, Vinyhje...@hotmail.com wrote: On 11 août, 11:40, Minh Nguyen nguyenmi...@gmail.com wrote: Hi, On Tue, Aug 11, 2009 at 7:34 PM, Vinyhje...@hotmail.com wrote: Hello! I'm a

[sage-support] A problem of memory

2009-08-11 Thread Viny
Hello, I'm a beginner in python and sage. I'm trying to solve a system of ODE by the newton method with python by sage. But i have a problem of memory with Lisp or Maxima when the hessian matrix is calculated. The process doesn't use the whole 12 giga RAM memory of my 64bits linux system and

[sage-support] Re: A problem of memory

2009-08-11 Thread Viny
The system has 3 equations and 100 points. In my program i compute a symbolic expression of the hessian. Is there a debugger in sage? Does it work like gdb? On 11 août, 16:04, David Joyner wdjoy...@gmail.com wrote: One option is to try to use the ode.pyx wrapper to the gsl