[sage-support] Re: Xelatex and Sage notebook

2010-03-07 Thread Kwankyu
Hi Dan, Thank you for your positive opinion. Xelatex is THE solution for documents with math and Hangul (or any non- English scripts). Perhaps we need to retain only %latex, and add a way to change the `active' latex engine from latex or pdflatex to xelatex. Currently it seems Sage

[sage-support] Re: Xelatex and Sage notebook

2010-03-07 Thread ma...@mendelu.cz
On 7 bře, 12:04, Kwankyu ekwan...@gmail.com wrote: Hi Dan, Thank you for your positive opinion. Xelatex is THE solution for documents with math and Hangul (or any non- English scripts). Perhaps we need to retain only %latex, and add a way to change the `active' latex engine from latex

[sage-support] TypeError: cannot evaluate symbolic expresssion numerically

2010-03-07 Thread ma...@mendelu.cz
Dear support when I worked on trac http://trac.sagemath.org/sage_trac/ticket/8459 (which has been motivated by [1]) I got problems with parsing expressions With patch for #8459 I get the following (note that the function g(x) cannot be evaluated numerically, unless I use eval, preparse and

[sage-support] Sage unexpectedly quits after asked to compute a resultant

2010-03-07 Thread panos
I tried the following code on a 64bit Linux machine running Sage 4.3.3: -- | Sage Version 4.3.3, Release Date: 2010-02-21 | | Type notebook() for the GUI, and license() for information.|

Re: [sage-support] Sage unexpectedly quits after asked to compute a resultant

2010-03-07 Thread Burcin Erocal
Hi Panos, On Sun, 7 Mar 2010 07:19:44 -0800 (PST) panos p.tsakn...@gmail.com wrote: I tried the following code on a 64bit Linux machine running Sage 4.3.3: -- | Sage Version 4.3.3, Release Date: 2010-02-21

Re: [sage-support] Re: Xelatex and Sage notebook

2010-03-07 Thread Andrzej Giniewicz
And what about LuaTeX? I think that it is better to keep normal latex (which is usually pdflatex in dvi mode), pdflatex and add other TeX's as option. I'd vote for LuaTeX instead of XeTeX, it's lot more compatible, iirc only 2 options from microtype package do not work with it and it's soft

Re: [sage-support] Simple multiprocessing example in Sage-Notebook

2010-03-07 Thread calcpage
from multiprocessing import Pool ... pool = Pool(processes=2)# start 2 worker processes Wow, cool, is this part of parallel python? Does this only work on a multi-core PC or can this be made to work over a cluster as well? TIA, A. Jorge Garcia http://calcpage.tripod.com

[sage-support] Re: set_edge_label is setting labels on intended and unintended graph

2010-03-07 Thread Robert Miller
Robert, do you agree that this should be changed to return a copy of the graph, instead of the actual graph used to build other graphs? See my comments on the ticket. -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to

[sage-support] Re: Simple multiprocessing example in Sage-Notebook

2010-03-07 Thread jpc
I've tried with print pool.map(f, range(10)) instead of pool.map(f, range(10)) calling python file.py In the notebook, the output must be caughted and printed for user, I think. Pedro On Mar 7, 5:23 am, Gokhan Sever gokhanse...@gmail.com wrote: Hello, I am executing this

[sage-support] Re: Simple multiprocessing example in Sage-Notebook

2010-03-07 Thread Gokhan Sever
On Mar 7, 10:13 am, calcp...@aol.com wrote: from multiprocessing import Pool ...     pool = Pool(processes=2)            # start 2 worker processes Wow, cool, is this part of parallel python?  Does this only work on a multi-core PC or can this be made to work over a cluster as well? This

[sage-support] Re: Simple multiprocessing example in Sage-Notebook

2010-03-07 Thread Gokhan Sever
On Mar 7, 12:20 pm, jpc pedrocruzave...@gmail.com wrote: I've tried with     print pool.map(f, range(10)) instead of     pool.map(f, range(10)) calling python file.py In the notebook, the output must be caughted and printed for user, I think. Pedro I was trying with pool.map(f,

[sage-support] Newbie – Local Functional Maximizat ion

2010-03-07 Thread Mike Brown
Hello, I want to say that I just learned about Sage. I tried installing it, but I didn’t have enough memory and then I saw that I could run it online. Impressive! What it can do is amazing. I have been playing around with sage and reading the documentation. I am trying to find the local

Re: [sage-support] Re: Simple multiprocessing example in Sage-Notebook

2010-03-07 Thread calcpage
pool sounds interesting! ipython is separate from parallel python? What about the @parallel decorator, is that parallel python? Its confusing in SAGE sometimes what needs importing and what doesn't. TIA, A. Jorge Garcia http://calcpage.tripod.com Teacher Professor Applied Mathematics,

[sage-support] Re: Simple multiprocessing example in Sage-Notebook

2010-03-07 Thread Gokhan Sever
On Mar 7, 3:14 pm, calcp...@aol.com wrote: pool sounds interesting! ipython is separate from parallel python? What about the @parallel decorator, is that parallel python? Its confusing in SAGE sometimes what needs importing and what doesn't. TIA, A. Jorge

Re: [sage-support] Re: Simple multiprocessing example in Sage-Notebook

2010-03-07 Thread William Stein
On Sun, Mar 7, 2010 at 5:06 PM, Gokhan Sever gokhanse...@gmail.com wrote: Parallel Python is a separate module. IPython is the interactive Python interpreter that comes with Sage. However to use the IPython parallel features you need to install some additional packages. I am not sure if you

[sage-support] Re: Simple multiprocessing example in Sage-Notebook

2010-03-07 Thread Gokhan Sever
On Mar 7, 8:45 pm, William Stein wst...@gmail.com wrote: On Sun, Mar 7, 2010 at 5:06 PM, Gokhan Sever gokhanse...@gmail.com wrote: Parallel Python is a separate module. IPython is the interactive Python interpreter that comes with Sage. However to use the IPython parallel features you

Re: [sage-support] Re: Simple multiprocessing example in Sage-Notebook

2010-03-07 Thread William Stein
On Sun, Mar 7, 2010 at 7:40 PM, Gokhan Sever gokhanse...@gmail.com wrote: On Mar 7, 8:45 pm, William Stein wst...@gmail.com wrote: On Sun, Mar 7, 2010 at 5:06 PM, Gokhan Sever gokhanse...@gmail.com wrote: Parallel Python is a separate module. IPython is the interactive Python interpreter

[sage-support] Re: Xelatex and Sage notebook

2010-03-07 Thread Kwankyu
Hi, On Mar 8, 1:01 am, Andrzej Giniewicz ggi...@gmail.com wrote: And what about LuaTeX? I think that it is better to keep normal latex (which is usually pdflatex in dvi mode), pdflatex and add other TeX's as option. I'd vote for LuaTeX instead of XeTeX, it's lot more compatible, iirc

[sage-support] How to find a simple solution in ODE

2010-03-07 Thread fromken
Hi there, I've got a problem with expressing a solution of ODE as follow. t = var('t') y = function('y', t) eqn = diff(y, t) - y^2 +1 sol = desolve(eqn, dvar = y, ivar = t, contrib_ode=True) sol.show() The above expression resulted in 1/2*log(y(t)-1) - 1/2*log(y(t)+1) = c + t. However, I want