[sage-support] Re: "Error showing url: There was an error launching the default action command associated with this location."

2009-03-20 Thread seber...@spawar.navy.mil
I solved the problem myself. That error has to do with the path to firefox being messed up under the $HOME/.gconf directory. More details here: http://defindit.com/readme_files/gconfd_http_launch_howto.html cs --~--~-~--~~~---~--~~ To post to this group, send e

[sage-support] Re: SSE4_1 errors when running sage 3.4

2009-03-20 Thread Ajay Rawat
a...@ajay-desktop:~$ sage -- | Sage Version 3.2.3, Release Date: 2009-01-05 | | Type notebook() for the GUI, and license() for information.|

[sage-support] Questions about LDAP integration.

2009-03-20 Thread Thierry Dumont
I am working again on the integration of LDAP identification in Sage (sage-3.4)... and I have problems :-; 1) did something change since versions x (x= last version in July 2008) in the identification? I see a file twistedconf.tac in .:sage/sage_notebook and it look like if this has something to d

[sage-support] Re: Questions about LDAP integration.

2009-03-20 Thread William Stein
On Fri, Mar 20, 2009 at 12:57 AM, Thierry Dumont wrote: > I am working again on the integration of LDAP identification in Sage > (sage-3.4)... and I have problems :-; > > 1) did something change since versions x (x= last version in July 2008) > in the identification? > I see a file twistedconf.ta

[sage-support] Bug with plotting cube roots

2009-03-20 Thread Bruce Bartlett
When I type in plot(x^(1/3), -1, 1) Sage balks at me. Apparantly it doesn't understand that the cube root of a negative number is well defined. Is this a bug? I found no easy way to get around it. --~--~-~--~~~---~--~~ To post to this group, send email to sage-sup

[sage-support] Re: Bug with plotting cube roots

2009-03-20 Thread Ajay Rawat
No i don't think so it is plotting for me. On Fri, Mar 20, 2009 at 4:10 PM, Bruce Bartlett < brucehbartl...@googlemail.com> wrote: > When I type in > > plot(x^(1/3), -1, 1) > > Sage balks at me. Apparantly it doesn't understand that the cube root of a > negative number is well defined. Is this a

[sage-support] Re: bug in region_plot

2009-03-20 Thread Wilfried_Huss
On 19 Mrz., 18:49, Jason Grout wrote: > Jason Grout wrote: > > Wilfried_Huss wrote: > > >> On 19 Mrz., 16:47, Jason Grout wrote: > >>> ma...@mendelu.cz wrote: > Hello, this command produces one half of a cirle, not 1/4 as excepted. > I think that this is a bug in sage 3.4 > Robe

[sage-support] Re: Bug with plotting cube roots

2009-03-20 Thread Mike Hansen
Hello, On Mar 20, 3:40 am, Bruce Bartlett wrote: > When I type in > > plot(x^(1/3), -1, 1) > > Sage balks at me. Apparantly it doesn't understand that the cube root of a > negative number is well defined. Is this a bug? I found no easy way to get > around it. In the documentation for plot (whic

[sage-support] Dealing with algebraic elements and rational functions

2009-03-20 Thread luisfe
Hi all, I am wondering how to make some computations with rather specific field extensions. I cannot figure out how to solve the following on SAGE. Mathematically, I have the following field: Q(x,y,z,t,a) Where x,y,z,t are indeterminates and "a" is an algebraic number over the rationals (lets s

[sage-support] Re: Pynac bug

2009-03-20 Thread Burcin Erocal
On Thu, 19 Mar 2009 20:22:18 -0700 (PDT) Alex Raichev wrote: > > Here's another one for you, Burcin... Thanks. I am really glad you're trying things out. This use case hadn't occured to me at all. Good catch. > sage: var('n',ns=1) > n > sage: (QQbar(2)^3)^n > -

[sage-support] remove optionally installed package

2009-03-20 Thread Karthick
hi, Is there any way to remove the installed package(not the native one, optionally installed only). i used ./sage -f url to install the packages, but now i no longer need some packages. Cheers Karthick B --~--~-~--~~~---~--~~ To post to this group, send email to

[sage-support] Re: Bug with plotting cube roots

2009-03-20 Thread kcrisman
> On Mar 20, 3:40 am, Bruce Bartlett > wrote: > > > When I type in > > > plot(x^(1/3), -1, 1) > > > Sage balks at me. Apparantly it doesn't understand that the cube root of a > > negative number is well defined. Is this a bug? I found no easy way to get > > around it. > > In the documentation fo

[sage-support] Re: Dealing with algebraic elements and rational functions

2009-03-20 Thread Mike Hansen
Hello, On Mar 20, 4:18 am, luisfe wrote: > Hi all, > Mathematically, I have the following field: > Q(x,y,z,t,a) > > Where x,y,z,t are indeterminates and "a" is an algebraic number over > the > rationals (lets say degree 4). > > If I have some elements, let say f,g,h in this field I would like to

[sage-support] Re: Leading monomial or leading term of univariate polynomials

2009-03-20 Thread Burcin Erocal
Hi William, On Wed, 18 Mar 2009 15:19:12 -0700 William Stein wrote: > > On Wed, Mar 18, 2009 at 3:24 AM, Burcin Erocal > wrote: > > > > Hi Simon, > > > > On Wed, 18 Mar 2009 02:44:55 -0700 (PDT) > > Simon King wrote: > > > >> > >> Dear supporters, > >> > >> multivariate polynomials have attr

[sage-support] Bayesian Networks ?

2009-03-20 Thread jack
Hi all, Does Sage has a toolbox for Bayesian networks ? Best Regards Jack --~--~-~--~~~---~--~~ 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 op

[sage-support] Magma Problem

2009-03-20 Thread Santanu Sarkar
I have installed both Magma and Sage. How can I use Magma in the Sage notebook (with Mozilla Firefox)? I always get "RuntimeError: Unable to start magma because the command 'magma -n' failed." Probably Sage does not know where to find my magma installation. How can I specify it? --~--~-~--

[sage-support] Re: Bug with plotting cube roots

2009-03-20 Thread ma...@mendelu.cz
On 20 Bře, 13:53, kcrisman wrote: > something like this, because there are too many similar things to > catch. I also believe Maple does not plot the negative values. > You are right, Maple plots x^(1/3) only for positive x. As a side effect, if you try to plot the function y=(x^2-1)^(1/3) w

[sage-support] Re: bug in region_plot

2009-03-20 Thread Jason Grout
Wilfried_Huss wrote: > > > On 19 Mrz., 18:49, Jason Grout wrote: >> Jason Grout wrote: >>> Wilfried_Huss wrote: On 19 Mrz., 16:47, Jason Grout wrote: > ma...@mendelu.cz wrote: >> Hello, this command produces one half of a cirle, not 1/4 as excepted. >> I think that this is a b

[sage-support] (débutant...) maxima pa s trouvé

2009-03-20 Thread paul.bartho...@gmail.com
maxima est installé et finctionne bien, mais pas (encore) avec sage. où dois-je chercher le problème ? Voici un exemple, y compris en appellant !maxima... Merci pour toute aide, Paul sage -- | Sage Version 3.4, Release Date:

[sage-support] Re: (débutant...) maxima pas trouvé

2009-03-20 Thread Mike Hansen
Bonjour Paul, On Mar 20, 9:00 am, "paul.bartho...@gmail.com" wrote: > maxima est installé et finctionne bien, mais pas (encore) avec sage. > où dois-je chercher le problème ? > Voici un exemple, y compris en appellant !maxima... > Merci pour toute aide, Paul Je ne parle pas français, mais i

[sage-support] Re: Bug with plotting cube roots

2009-03-20 Thread Jason Grout
ma...@mendelu.cz wrote: > > > On 20 Bře, 13:53, kcrisman wrote: > >> something like this, because there are too many similar things to >> catch. I also believe Maple does not plot the negative values. >> > > You are right, Maple plots x^(1/3) only for positive x. As a side > effect, if you t

[sage-support] Re: how to pull back an ideal by a canonical surjection ?

2009-03-20 Thread David Madore
On Thu, Mar 19, 2009 at 05:23:07PM +, Martin Albrecht wrote: > On Thursday 19 March 2009, David Madore wrote: > > So, is there a way in Sage to pull back an ideal by a canonical map? > > Quotient rings are in a particularly bad shape in Sage, here's a hack: > > sage: R. = QQ['x','y'] > sage:

[sage-support] Re: Leading monomial or leading term of univariate polynomials

2009-03-20 Thread Simon King
Dear Burcin, On 20 Mrz., 15:37, Burcin Erocal ... > I don't think comparing the methods implemented by two different > classes will be a good basis for testing an API specification > (assuming one day we write one). More specialized classes implement > some functions, which the generic ones don't

[sage-support] Disabled person using SAGE

2009-03-20 Thread meitnik
Hi all, I am legally blind, legally deaf, some limited finger mobility, and some learning disabilities too (all from Rubella). I enjoy mathematics and programming but due to my limited income Mathematica is just out of my reach even for the Home edition. A friend told me about SAGE. Cool! However

[sage-support] Re: bug in region_plot

2009-03-20 Thread William Cauchois
I've had to deal with adapt_to_callable a bit, and I too would greatly appreciate an improvement to it. One thing that I think should be handled in adapt_to_callable, or whatever its replacement will be, is plot ranges. Users are usually allowed to explicitly specify variables in plot ranges (thi

[sage-support] Re: Bayesian Networks ?

2009-03-20 Thread William Stein
On Fri, Mar 20, 2009 at 7:32 AM, jack wrote: > > Hi all, > > Does Sage has a toolbox for Bayesian networks ? > > Best Regards > Jack Doing a google search for Python Bayesian network turns up many interesting results: http://www.google.com/search?q=python+bayesian+network&ie=utf-8&oe=utf-8&aq=t

[sage-support] Re: Magma Problem

2009-03-20 Thread William Stein
On Fri, Mar 20, 2009 at 7:48 AM, Santanu Sarkar wrote: > I have installed both Magma and Sage. How can I use Magma in the Sage > notebook (with Mozilla Firefox)? I always get "RuntimeError: Unable to start > magma because the command 'magma -n' failed." Probably Sage does not know > where to find

[sage-support] Re: Disabled person using SAGE

2009-03-20 Thread meitnik
Another quick option: is there a way to get a listing of all the commands/functions/keywords used in SAGE (the top level not at the source code level)? Can that listing be done within context of topical arrangement?? Inside SAGE in a cell or exported as a text file? Thanks. Andrew --~--~-

[sage-support] Disabled person using SAGE

2009-03-20 Thread Paul Zimmermann
Another quick option: is there a way to get a listing of all the commands/functions/keywords used in SAGE (the top level not at the source code level)? try: sage: *? Hope this helps, Paul Zimmermann --~--~-~--~~~---~--~~ To post to this group, send e

[sage-support] Re: Disabled person using SAGE

2009-03-20 Thread meitnik
nope: No object '' currently defined. Or does this need to be done only via terminal not in a cell? On Mar 20, 4:51 pm, Paul Zimmermann wrote: >    Another quick option: is there a way to get a listing of all the >    commands/functions/keywords used in SAGE (the top level not at the >    source

[sage-support] Number of operands in an expression

2009-03-20 Thread Alasdair
Is there a Sage equivalent to Maple's "nops" command, which counts the number of operands in an expression? In particular, is there a command which returns the number of terms of something like expand((1+x+1/x)^10) ? Thanks, Alasdair --~--~-~--~~~---~--~~ To post

[sage-support] Re: Number of operands in an expression

2009-03-20 Thread Craig Citro
> Is there a Sage equivalent to Maple's "nops" command, which counts the > number of operands in an expression?  In particular, is there a > command which returns the number of terms of something like > > expand((1+x+1/x)^10) ? > There's probably a classier way to do it, but this works: sage: le

[sage-support] Re: Disabled person using SAGE

2009-03-20 Thread Robert Bradshaw
On Mar 20, 2009, at 1:43 PM, meitnik wrote: > Another quick option: is there a way to get a listing of all the > commands/functions/keywords used in SAGE (the top level not at the > source code level)? Can that listing be done within context of topical > arrangement?? Inside SAGE in a cell or exp

[sage-support] Re: Korean characters in TinyMCE

2009-03-20 Thread ma...@mendelu.cz
Hello all, after installing these patches I observed the folloving behavior: If I enter $x$ in tinymce, save and then enter again, I see the picture for x and not $x$. When I save again, $x$ is replaced by sentence like Hence I cannot return to editing mathematics. This problem is not present

[sage-support] python's list comprehension

2009-03-20 Thread Nils Bruin
Given how elegant python is for the rest, I am probably missing the proper "pythonic" way of creating the sequence below. I was interested in elliptic curves with possible 9-torsion in Sha, so I figured querying Cremona's database would get me some examples. After some experimenting, I finally c

[sage-support] Re: Disabled person using SAGE

2009-03-20 Thread meitnik
Cool, very helpful. Thank you! Ok I get 1555. I can list them if you want. Whats missing then?? Next, how do I get the '?' info for each function in a loop in a worksheet? I guess I need a py script to scrap out the docstrings from each modules (so I can sort/arrange the functions correctly)? Agai

[sage-support] Re: Number of operands in an expression

2009-03-20 Thread Alasdair
That works well, but what about when the expression is multivariate, such as: expand((1+x+1/y)^10) It would be nice to have a general command to count the number of summands in such an expression. Thanks, Alasdair On Mar 21, 10:41 am, Craig Citro wrote: > > Is there a Sage equivalent to Maple

[sage-support] Re: Disabled person using SAGE

2009-03-20 Thread Marshall Hampton
There might be a better way of doing this, but one way to get the docstrings that show up with ? is: q = globals().keys() q.sort() docstrings = [eval(x).__doc__ for x in q] It really depends on what exactly you want to do though - it may be more helpful to use a dictionary where the keys are the

[sage-support] Re: Disabled person using SAGE

2009-03-20 Thread Robert Bradshaw
On Mar 20, 2009, at 9:21 PM, Marshall Hampton wrote: > > There might be a better way of doing this, but one way to get the > docstrings that show up with ? is: > > q = globals().keys() > q.sort() > docstrings = [eval(x).__doc__ for x in q] > > It really depends on what exactly you want to do thou

[sage-support] Re: python's list comprehension

2009-03-20 Thread Craig Citro
Hi Nils, Yep, I think there are ways of making this nicer. > I was interested in elliptic curves with possible 9-torsion in Sha, so > I figured querying Cremona's database would get me some examples. > After some experimenting, I finally created a query that had the > desired result: > > sage: D

[sage-support] Re: python's list comprehension

2009-03-20 Thread N. Bruin
Thanks Craig, The '*arg' notation is exactly what I was looking for. My confidence in Guido and the sage API designers is restored. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email t

[sage-support] Re: python's list comprehension

2009-03-20 Thread William Stein
On Fri, Mar 20, 2009 at 10:20 PM, N. Bruin wrote: > > Thanks Craig, > > The '*arg' notation is exactly what I was looking for. My confidence > in Guido and the sage API designers is restored. There is also a **kwds's notation, which you should learn about. If you have a function foo that takes

[sage-support] Re: Number of operands in an expression

2009-03-20 Thread Craig Citro
> That works well, but what about when the expression is multivariate, > such as: > > expand((1+x+1/y)^10) > > It would be nice to have a general command to count the number of > summands in such an expression. > Yep, I agree. Here is a *terrible* way to do it: sage: var('x,y') (x, y) sage: f =