[sage-support] Re: Problems Installing Python Libraries

2010-03-01 Thread Ahmed Fasih
I only use "sage -python" or "sage -ipython" with PyCUDA stuff, so that part's probably right. I'm running 64-bit Fedora and 64-bit CUDA (straight from NVIDIA, I had to fight a fair bit with this to work with Fedora 11's 4.4 gcc), and PyCUDA's tests work fine with Sage's Python. I would try to get

[sage-support] Re: Problems Installing Python Libraries

2010-03-01 Thread Matthew Bromberg
I actually got to the point where it would install using a similar approach. I've been using the special shell environment for sage that forces the correct python paths and so forth. Unfortunately my install segfaults when I try to run the tests. My systems python will run the pycuda tests

[sage-support] Re: subgroup lattice

2010-03-01 Thread D.C. Ernst
On Mar 1, 6:18 pm, Simon King wrote: > Hi David! > > On 1 Mrz., 20:08, David Joyner wrote: > > > On Mon, Mar 1, 2010 at 1:26 PM, Dana Ernst wrote: > > > Is there a way to obtain a subgroup lattice for finite groups?  I defined > > > a finite group G and did G.? but didn't see anything that w

[sage-support] Re: subgroup lattice

2010-03-01 Thread D.C. Ernst
> One way: > > sage: G = SymmetricGroup(3) > sage: GG = gap(G) I'm guessing that GG doesn't mean anything special, but is just a name similar to G, and gap(G) is transforming G into a gap object. I'm not exactly clear when this sort of thing needs to be done, but I guess I'll learn over time. >

[sage-support] Re: quitting local sage notebook

2010-03-01 Thread D.C. Ernst
Thanks! On Mar 1, 3:00 pm, William Stein wrote: > On Mon, Mar 1, 2010 at 10:30 AM, Robert Bradshaw > > wrote: > > On Mar 1, 2010, at 9:02 AM, Dana Ernst wrote: > > >> What's the proper way to quit a local sage notebook?  I've been signing > >> out of the web browser and then quitting terminal, w

Re: [sage-support] HOWTO remove a package

2010-03-01 Thread Minh Nguyen
Hi Serge, On Tue, Mar 2, 2010 at 10:23 AM, Serge A. Salamanka wrote: > Hello, > > How to properly remove a package ? > In documentation there is no mention on how to do that. I think that's because there is as yet no automatic way to remove a package, so no documentation on how to (automatically

Re: [sage-support] Re: Hold symbolic expressions

2010-03-01 Thread Burcin Erocal
Hi Robert, On Sun, 28 Feb 2010 07:49:34 -0800 (PST) "ma...@mendelu.cz" wrote: > Can you give us (very briefly) few pointers where to start to learn > pynac. Here's a first attempt: http://wiki.sagemath.org/symbolics/pynac_start Feel free to edit the page as you see fit and ask questions so I

Re: [sage-support] Sagetex issue

2010-03-01 Thread Minh Nguyen
Hi, On Tue, Mar 2, 2010 at 10:18 AM, Adrián wrote: > Any help would be more than welcome. Here are three sources of information on installing/using SageTeX: * Make SageTeX known to TeX http://www.sagemath.org/doc/installation/sagetex.html * Installing and using SageTeX http://www.sagemath.o

Re: [sage-support] Re: subgroup lattice

2010-03-01 Thread David Joyner
On Mon, Mar 1, 2010 at 6:18 PM, Simon King wrote: > Hi David! > > On 1 Mrz., 20:08, David Joyner wrote: >> On Mon, Mar 1, 2010 at 1:26 PM, Dana Ernst wrote: >> > Is there a way to obtain a subgroup lattice for finite groups?  I defined >> > a finite group G and did G.? but didn't see anything

[sage-support] HOWTO remove a package

2010-03-01 Thread Serge A. Salamanka
Hello, How to properly remove a package ? In documentation there is no mention on how to do that. Particularly, I'd like to remove sagenb-0.7.5.1 from my Sage installation. Should I just remove the directory sagenb in sage-4.3.3/local/lib/python2.6/site-packages/sagenb-0.7.5.1-py2.6.egg ? After

[sage-support] Problem constructing extensions of p-adic fields

2010-03-01 Thread jtyard
Hi, I'm having trouble constructing p-adic cyclotomic fields in Sage (v 4.3.3). For instance, if I try to make Q_p(zeta_p) (for, say p = 3), by entering sage: S. = Qp(3)[] sage: K. = Qp(3).extension(x^2 + x + 1) I get the error: NameError: global name 'split' is not defined However, this work

[sage-support] Sagetex issue

2010-03-01 Thread Adrián
I just got the sagetex package to work with my Tex distribution. The question I have is, how do I get SAGE to work out the resulting .sage file that Latex creates after I compile it? I've read the information in the sagetex package and also in the SAGE manual, but it only tells me that I have to ru

[sage-support] Re: subgroup lattice

2010-03-01 Thread Simon King
Hi David! On 1 Mrz., 20:08, David Joyner wrote: > On Mon, Mar 1, 2010 at 1:26 PM, Dana Ernst wrote: > > Is there a way to obtain a subgroup lattice for finite groups?  I defined a > > finite group G and did G.? but didn't see anything that would do > > this.  Any tips? > > One way: > > sage:

[sage-support] Re: Conformal Mapping

2010-03-01 Thread Adrián
I suppose it is, although I'm not really sure what it actually does. What I'm interested is in graphs like the ones on this webpage: http://www.nucalc.com/images/Example48.gif http://www.nucalc.com/images/Example49.jpg On 1 mar, 13:15, David Joyner wrote: > Ishttp://trac.sagemath.org/sage_trac/

Re: [sage-support] sage and readline problems

2010-03-01 Thread Minh Nguyen
Hi Luis, On Tue, Mar 2, 2010 at 5:40 AM, finotti wrote: > Hi, > > I've been having some problems using Sage in a terminal. Mainly, TAB > completion doesn't work properly. Pressing TAB suggests completion > but moves the cursor to a different position, making it difficult to > read and type. (I

Re: [sage-support] quitting local sage notebook

2010-03-01 Thread William Stein
On Mon, Mar 1, 2010 at 10:30 AM, Robert Bradshaw wrote: > On Mar 1, 2010, at 9:02 AM, Dana Ernst wrote: > >> What's the proper way to quit a local sage notebook?  I've been signing >> out of the web browser and then quitting terminal, which kills anything >> running.  I have OSX 10.6.  Is this wha

Re: [sage-support] Re: Worksheet at www.sagenb.org not working for me

2010-03-01 Thread William Stein
On Mon, Mar 1, 2010 at 8:54 AM, Nathan Carter wrote: > > My students reported this same thing over the weekend as they were > trying to do a project on sagenb.org.  This morning I'm experiencing > the same problem, and it seems another class is, too: >     > http://groups.google.com/group/sage-sup

[sage-support] Re: numerator has a funny parent() -- intentional ?

2010-03-01 Thread Pierre
oooh wait wait wait. I've said something totally confusing. My previous two posts apply to rational fractions... for which indeed, the numerator method gives the 'correct' answer ! The issue I raised in my original post is the 'funny' behaviour when you ask for the numerator of something in QQ[x]

[sage-support] Re: numerator has a funny parent() -- intentional ?

2010-03-01 Thread Pierre
One further example perhaps, to be more convincing : sage: N= (2*x).numerator() sage: N.prime_divisors() [2, x] sage: [valuation(N, p) for p in prime_divisors(N)] # innocent- looking piece of code ... ArithmeticError: The polynomial, p, must have positive degree. I do think the innocent piec

[sage-support] Re: numerator has a funny parent() -- intentional ?

2010-03-01 Thread Pierre
hmm it's not mathematical, it's just that IMHO n should belong to QQ[x], not ZZ[x]. I do see your point though, in that the coefficients should be mathematical integers (or "may as well be"). And I do see now that it is intentional. Think about it : if i wanted to use your metaphor, over QQ the nu

Re: [sage-support] Conformal Mapping

2010-03-01 Thread David Joyner
Is http://trac.sagemath.org/sage_trac/ticket/6648 related to what you want? On Mon, Mar 1, 2010 at 12:39 PM, Adrián wrote: > Hi, I was just wondering if Sage has any function implemented to do > conformal mappings? > Or better yet, is there a way in which I can do some conformal > mappings with >

[sage-support] Re: Problems Installing Python Libraries

2010-03-01 Thread Ahmed Fasih
Ignoring the oft-considered and oft-rejected suggestion that Sage integrate with its host system, I take it that you couldn't get PyCUDA 0.9.3 working. I just got it working with Sage, Fedora 11, etc. When installing Boost 1.4.2, I made sure to "./bootstrap.sh --help" and see how to provide the co

Re: [sage-support] subgroup lattice

2010-03-01 Thread David Joyner
On Mon, Mar 1, 2010 at 1:26 PM, Dana Ernst wrote: > Is there a way to obtain a subgroup lattice for finite groups? I defined a > finite group G and did G.? but didn't see anything that would do this. > Any tips? One way: sage: G = SymmetricGroup(3) sage: GG = gap(G) sage: GG.LatticeSubgro

Re: [sage-support] numerator has a funny parent() -- intentional ?

2010-03-01 Thread Robert Bradshaw
On Mar 1, 2010, at 7:50 AM, Pierre wrote: hi all, is this a bug or intentional ? sage: x= QQ['x'].gen() sage: n= x.numerator() sage: x.parent() Q[x] sage: n.parent() Z[x] what about this Z popping out of nowhere ? (well...) It's certainly making my like (a little) more complicated (i have a

[sage-support] sage and readline problems

2010-03-01 Thread finotti
Hi, I've been having some problems using Sage in a terminal. Mainly, TAB completion doesn't work properly. Pressing TAB suggests completion but moves the cursor to a different position, making it difficult to read and type. (I suspect it's related to readline, no?) Let me know if this is not c

Re: [sage-support] quitting local sage notebook

2010-03-01 Thread Robert Bradshaw
On Mar 1, 2010, at 9:02 AM, Dana Ernst wrote: What's the proper way to quit a local sage notebook? I've been signing out of the web browser and then quitting terminal, which kills anything running. I have OSX 10.6. Is this what you are supposed to do? You can kill the sage -notebook pr

[sage-support] subgroup lattice

2010-03-01 Thread Dana Ernst
Is there a way to obtain a subgroup lattice for finite groups? I defined a finite group G and did G.? but didn't see anything that would do this. Any tips? Dana Ernst, Ph.D. Assistant Professor Department of Mathematics Plymouth State University MSC 29, 17 High Street Plymouth, NH 03264-1595

[sage-support] Re: sage-mode

2010-03-01 Thread Pierre
Sorry for being so slow in replying. I can say something about your question (1), I have the same bug and I add the following to my .emacs : (defun my-sage () "sage+sage-view" (interactive) (call-interactively 'run-sage) (if (y-or-n-p "Toggle sage-view ? ") (call-interactively 'sage-view) nil

[sage-support] Conformal Mapping

2010-03-01 Thread Adrián
Hi, I was just wondering if Sage has any function implemented to do conformal mappings? Or better yet, is there a way in which I can do some conformal mappings with the commands available in Sage? I've tried to look in the web but haven't found any info on it yet. I found that it has the complex_pl

[sage-support] quitting local sage notebook

2010-03-01 Thread Dana Ernst
What's the proper way to quit a local sage notebook? I've been signing out of the web browser and then quitting terminal, which kills anything running. I have OSX 10.6. Is this what you are supposed to do? Thanks in advance. Dana Ernst, Ph.D. Assistant Professor Department of Mathematics Pl

[sage-support] Re: Worksheet at www.sagenb.org not working for me

2010-03-01 Thread Nathan Carter
My students reported this same thing over the weekend as they were trying to do a project on sagenb.org. This morning I'm experiencing the same problem, and it seems another class is, too: http://groups.google.com/group/sage-support/browse_frm/thread/51d5129903cc4671 Did some recent change c

Re: [sage-support] maxima broken in notebook on sagenb?

2010-03-01 Thread William Stein
On Mon, Mar 1, 2010 at 8:36 AM, Thomas Scofield wrote: > > Could this also be the source of my problem?  Code like > var('x y z t') p1 = parametric_plot3d((x,0,z), (x,-1.2,1.2), (z,-1.2,1.2), > color='green', opacity=.65) p2 = parametric_plot3d((x,2-x,z), (x,-1.2,1.2), > (z,-1.2,1.2), color='green

Re: [sage-support] maxima broken in notebook on sagenb?

2010-03-01 Thread Thomas Scofield
Could this also be the source of my problem? Code like var('x y z t') p1 = parametric_plot3d((x,0,z), (x,-1.2,1.2), (z,-1.2,1.2), color='green', opacity=.65) p2 = parametric_plot3d((x,2-x,z), (x,-1.2,1.2), (z,-1.2,1.2), color='green', opacity=.65) p3 = parametric_plot3d((sin(t), y, cos(t)),

[sage-support] maxima broken in notebook on sagenb?

2010-03-01 Thread Dana Ernst
I was attempting to convince my calculus students this morning in class to play with Sage when doing their homework instead of using Wolfram|Alpha all the time. However, this failed miserably because maxima wasn't working on sagenb.org (at least it wasn't around 10:30 AM EST and it still isn't

[sage-support] numerator has a funny parent() -- intentional ?

2010-03-01 Thread Pierre
hi all, is this a bug or intentional ? sage: x= QQ['x'].gen() sage: n= x.numerator() sage: x.parent() Q[x] sage: n.parent() Z[x] what about this Z popping out of nowhere ? (well...) It's certainly making my like (a little) more complicated (i have a more involved example of course, and i procee

[sage-support] Re: Roots of polynomial system involving square roots

2010-03-01 Thread Ben Goodrich
Thank you Yann and Simon for your suggestions. I think solve() may be too limited for my actual problem, but augmenting the ideal with additional polynomials could work with a bit of effort on my part. Thanks again, Ben -- To post to this group, send email to sage-support@googlegroups.com To un

[sage-support] Re: Roots of polynomial system involving square roots

2010-03-01 Thread Simon King
Hi Ben! On Feb 28, 11:28 pm, Ben Goodrich wrote: > sage: R. = QQ[] > sage: ideal(sqrt(x) - 2, y - 2*x, x - z**2).groebner_basis() > --- > ... > AttributeError: 'Ideal_generic' object has no attribute > 'groebner_basis' You m

Re: [sage-support] Solve fails for a cubic

2010-03-01 Thread Alex Ghitza
On Sun, 28 Feb 2010 23:02:08 -0800 (PST), Sharpie wrote: > However, tonight I have been trying to solve an open channel flow > problem which requires me to find the roots of: > > y^3 - 1.39027132807289 * y^2 + 0.090610488164005 == 0 > > find_root() does return the correct answers-- but in this

[sage-support] Re: Roots of polynomial system involving square roots

2010-03-01 Thread Yann
Is this enough for you? sage: var('x,y,z') (x, y, z) sage: solve([sqrt(x)-2,y-2*x,x-z**2],[x,y,z]) [[x == 4, y == 8, z == -2], [x == 4, y == 8, z == 2]] (you can then filter the solutions) -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send

Re: [sage-support] Theory of Computation class

2010-03-01 Thread Minh Nguyen
Hi Owen, On Mon, Mar 1, 2010 at 3:34 PM, Owen Densmore wrote: >  How to use python within sage on > graphs, for example. See the graph theory module: http://www.sagemath.org/doc/reference/graphs.html -- Regards Minh Van Nguyen -- To post to this group, send email to sage-support@googlegr

[sage-support] Solve fails for a cubic

2010-03-01 Thread Sharpie
Hello group, I've been eyeing Sage for a while-- it has always struck me as a wonderful project. Recently I have started trying to use it for homework assignments and have had very encouraging results so far. However, tonight I have been trying to solve an open channel flow problem which require