[sage-support] differences between the "image()" and "column_space()" commands on a matrix

2017-05-09 Thread Pierre
Does somebody know the differences between the "image()" and "column_space()" commands on a matrix ? The definition seems the same but the answers are different... Thanx. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from thi

[sage-support] persistent homology?

2017-05-12 Thread Pierre
27;re quite old.) Incidentally, if anybody has managed to install GUDHI either on Mac OSX or on SMC, i'd be interested to know how this was achieved. Thanks! Pierre -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from

[sage-support] Re: persistent homology?

2017-05-14 Thread Pierre
Thanks everyone for the answers. If i ever reach the stage when i can run gudhi on some computer, and then the stage when i can install it on my own computer, then i'll contemplate the project of writing an interface to sage -- but don't hold your breath... On Friday, May 12, 2017 at 7:57:31 PM

[sage-support] cyclic algebras

2017-07-10 Thread Pierre
plicated fields, PARI has functions accessible through sage to find points on conics. If any of the above can be facilitated by Sage for p odd, it would be great. Thanks! Pierre -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubs

Re: [sage-support] cyclic algebras

2017-07-10 Thread Pierre
micField(3) > sage: a=2+3*z > sage: b=3+4*z > sage: x=polygen(Q3) > sage: L.=Q3.extension(x^3-a) > sage: b.is_norm(L) > False > > On 10 July 2017 at 14:23, Pierre > > wrote: > > Hi all ! > > > > I wanted to know whether Sagemath had any su

[sage-support] Re: persistent homology?

2017-08-26 Thread Pierre
in a jupyter notebook ? ** can I change DIRNAME='2017-08-22-15-45-31_GUDHI_2.0.1-rc1' to DIRNAME='gudhi' ? It would be more readable :-) thanks again! Pierre -- You received this message because you are subscribed to the Google Groups "sage-support" group.

[sage-support] Re: persistent homology?

2017-09-12 Thread Pierre
I tried to follow the instructions, in a brand new cocalc project. This failed, with $ URL='https://gforge.inria.fr/frs/download.php/file/37020/' $ DIRNAME='2017-08-22-15-45-31_GUDHI_2.0.1-rc1' $ TARBALL=$DIRNAME'.tar.gz' $ curl -C - --retry 99 -o $TARBALL $URL$TARBALL $ tar xzf

[sage-support] bug report with Rubik's cube functions

2015-03-19 Thread Pierre
n U is, taken by CubeGroup and given in Joyner's book, is just not the one appearing when you print foo. It seems that inverses are taken, since RubiksCube().move("R*U") displays something that corresponds to U^-1 * R^-1 (by which I mean U^-1 first, then R^-1). In a nutshell:

[sage-support] Re: bug report with Rubik's cube functions

2015-03-19 Thread Pierre
I have just realized that CubeGroup().faces("U") also goes counterclockwise ! what a mess ! On Thursday, March 19, 2015 at 1:07:12 PM UTC+1, Pierre wrote: > > Hi, > > I have just realized this, and thought it would be helpful to know for > anyone playing with Sage&

Re: [sage-support] bug report with Rubik's cube functions

2015-03-19 Thread Pierre
:18 PM UTC+1, David Joyner wrote: > > On Thu, Mar 19, 2015 at 8:07 AM, Pierre > wrote: > > Hi, > > > > I have just realized this, and thought it would be helpful to know for > > anyone playing with Sage's Rubik's cube abilitites. Here it i

[sage-support] power series algebraic over field of rational fractions

2015-04-02 Thread Pierre
d, by the way, please let me know ! (I myself haven't got an intuition yet for how difficult this is.) Thanks ! Pierre -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from i

Re: [sage-support] power series algebraic over field of rational fractions

2015-04-02 Thread Pierre
nd that i want to write it explicitly as a fraction P(x)/Q(x), exactly as in your other post. am I missing something? Pierre coefficients for each power of f. I have done something similar where > K was a number field of quite large degree and d was about 200, so I'm > sure it is possib

Re: [sage-support] power series algebraic over field of rational fractions

2015-04-02 Thread Pierre
PS sorry i wrote to be clear : i know there is at least a relation > > P_0(x) + P_1(x) f + P_2(x) f^2 + ... + P_d(x) f^d > i meant to end with " = 0 ". -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop r

[sage-support] SageMathCloud questions: plots, init.sage, etc

2015-07-21 Thread Pierre
"project" is like a separate computer running? (it feels very much like it, and i also think i remember reading this in the documentation somewhere) (4) This is a bit unrelated, but: does the editor on sagemathcloud (the one that pops up when you click on a .sage file) have any auto-co

[sage-support] Re: SageMathCloud questions: plots, init.sage, etc

2015-07-21 Thread Pierre
I can answer a bit of my own question: > (2) I've been trying to improve it to > > > def showplot(g, **kwargs): > import IPython.display > save(g, 'a.png', kwargs) > IPython.display.display(IPython.display.Image('a.png')) > > > and tried showplot(my_plot, dpi= 1200) to get a larger ima

[sage-support] weird slowness with sagemathcloud

2015-07-26 Thread Pierre
don't understand these functions at all, I have to say (re.py???) This is in a jupyter notebook. Thanks ! Pierre -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it

[sage-support] construction of a number field -- via QQbar?

2015-11-10 Thread Pierre
: K, gens, phi= number_field_elements_from_algebraics([ra, rb, rc, rA, rC, rdelta], minimal= True) However this last command takes forever. (This is on SMC.) Is there anything else that I could try? Thanks ! Pierre -- You received this message because you are subscribed to the Google Groups

Re: [sage-support] construction of a number field -- via QQbar?

2015-11-10 Thread Pierre
> > > (1) As in your first construction but replace each field constructed > after the forst with the corresponding absolute field. > > I have tried this but got something like: F0.= NumberField(x^2 - 2) F1.= F0.extension( polygen(F0)^2 - 5 ) L= F1.absolute_field("bar") L(foo0) ... TypeError:

Re: [sage-support] construction of a number field -- via QQbar?

2015-11-10 Thread Pierre
94147621118*y^16 + > 77999223597440406896*y^15 - 90519472303245161928*y^14 + > 54028667281044557920*y^13 + 41367302912532250064*y^12 - > 168969147746602154528*y^11 + 261672020286578277832*y^10 - > 244896792544276915584*y^9 + 104844130048796679732*y^8 + > 105596980415747506608*y^7 - 299690125602975518

Re: [sage-support] construction of a number field -- via QQbar?

2015-11-10 Thread Pierre
Oh yes, refreshing the page in my browser revealed that the computation was in fact over. I don't get the same minimal polynomial: Number Field in a with defining polynomial y^64 - 16*y^63 + 120*y^62 - 552*y^61 + 1060*y^60 + 9192*y^59 - 109548*y^58 + 594136*y^57 - 1818336*y^56 + 1418016*y^55 +

[sage-support] Hide traceback

2015-11-27 Thread Pierre
ll it myself. Come to think of it, I have the same question about ipython/sage in a terminal. I seem to remember that with my local sage notebook, ages ago, this was the default, you had to click somewhere to see the traceback, I very much enjoyed that ! thanks ! Pierre -- You received this me

[sage-support] SageMathCloud: init.sage ignored for .sagews files

2016-02-24 Thread Pierre
(only?) way to do it on SMC is via a sage worksheet and the "%default_mode gap" magic. (I cannot really use GAP from the command line, as the brackets [ ] on my keyboard do not work in the SMC terminal !!!) thanks ! Pierre -- You received this message because you are subscribed to

[sage-support] Re: SageMathCloud: init.sage ignored for .sagews files

2016-02-24 Thread Pierre
PS and yes, my init.sage would be relevant even to use GAP, although not an awful lot -- in fact i have written a magic function to replace %gap, it works a little better for me, but I concede that it's not crucially important :-) -- You received this message because you are subscribed to the

[sage-support] Re: SageMathCloud: init.sage ignored for .sagews files

2016-02-24 Thread Pierre
> > > Probably yes, but what you really want is a workaround. I would suggest > you to write a normal .py file and import it in a sagews file. Start the > cell where you import with "% auto" and this cell will be executed > automatically on (re)start. I'm guessing that would help you. > > thank

[sage-support] Re: SageMathCloud: init.sage ignored for .sagews files

2016-02-24 Thread Pierre
combinations of keys do not work, like CTRL + , which is how i produce a \ normally. Given that the meta key is ESC, all in all i don't use emacs much under SMC. On Wednesday, February 24, 2016 at 5:57:40 PM UTC+1, Pierre wrote: > > >> Probably yes, but what you really want

Re: [sage-support] Re: SageMathCloud: init.sage ignored for .sagews files

2016-02-27 Thread Pierre
On Wednesday, February 24, 2016 at 6:53:18 PM UTC+1, Volker Braun wrote: > > And emacs can edit remote files via ssh using tramp-mode, so you can run > just run emacs locally: > > C-x f ssh://hostname:filename > > Sorry i took me a while to respond, i kind of forgot about this thread for a couple

[sage-support] graph plotting: heights option

2016-03-11 Thread Pierre
misunderstand the 'heights' option, but I thought that the vertices 3 and 6, for example, would be on the same horizontal line, as would be 4, 5, 1. Not the case for me at all ! Thanks for you help, Pierre -- You received this message because you are subscribed to the Google Gro

Re: [sage-support] graph plotting: heights option

2016-03-11 Thread Pierre
OK thanks, i'll do that. On Saturday, March 12, 2016 at 6:55:06 AM UTC+1, jori.ma...@uta.fi wrote: > > On Fri, 11 Mar 2016, Pierre wrote: > > > This is from the documentation of the plot method of the Digraph class: > > > > sage: T = list(graphs.trees(7)) >

[sage-support] libgap, simple membership question

2016-03-30 Thread Pierre
_membership(G, g) function, implememting solution (3). It would work in general (eg, verifying whether g is in a given conjugacy class, as returned by G.ConjugacyClasses() ). thanks! Pierre -- You received this message because you are subscribed to the Google Groups "sage-support"

[sage-support] Re: libgap, simple membership question

2016-03-30 Thread Pierre
e: isContainedIn = libgap.function_factory(r'\in') > sage: isContainedIn(g, G) > true > > > > On Wednesday, March 30, 2016 at 11:39:14 AM UTC+2, Pierre wrote: >> >> Hi ! >> >> I've been playing with libgap, which is great (I love the fact that lis

[sage-support] Re: libgap, simple membership question

2016-03-30 Thread Pierre
lists. Of course one can use libgap.eval( p.cycle_string() ) but that's awkward. As is libgap.PermList( p ) Pierre -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from i

[sage-support] Re: libgap, simple membership question

2016-03-30 Thread Pierre
> It also seems that "SymmetricGoup" has its elements live in a pexpect gap, > not in libgap. It might be attractive to move that too. > I was wondering about that: so many sage objects are really GAP objects wrapped up, with the old code using the pexpect interface, is the plan to re-write e

[sage-support] libgap bug trying to concatenate lists

2016-05-25 Thread Pierre
Hi, This is on SMC. I think the following used to work (?), but I may be wrong. sage: G= libgap.SymmetricGroup(3) sage: foo= G.GeneratorsOfGroup() sage: foo + foo ... ValueError: libGAP: Error, no method found! Error, no 1st choice method found for `+' on 2 arguments One may try list(foo) + l

[sage-support] Re: libgap bug trying to concatenate lists

2016-05-25 Thread Pierre
PS on another example, using + on two GAP lists of length 2 and 6 respectively has produced a list of length 6, and I think it contains sums of elements taken from the lists, somehow. -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscr

Re: [sage-support] Re: libgap bug trying to concatenate lists

2016-05-25 Thread Pierre
By that reasoning, you should expect libgap lists to start with 1, as in a GAP console, but they start with 0 as python lists (and i think it's GREAT : with the old pexpect interface, the lists starting with 1 used to create a lot of trouble). I'm pretty sure the idea was to have libgap lists b

Re: [sage-support] Re: libgap bug trying to concatenate lists

2016-05-25 Thread Pierre
oh, I see. Tricky one. On Wednesday, May 25, 2016 at 5:24:48 PM UTC+2, vdelecroix wrote: > > On 25/05/16 10:11, Pierre wrote: > > By that reasoning, you should expect libgap lists to start with 1, as in > a > > GAP console, but they start with 0 as python lists (and

[sage-support] networkx has no attribute 'read_dot'

2016-11-21 Thread Pierre
erhaps read_dot has changed names? thanks, Pierre -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to

[sage-support] Permutations and cycle notation

2008-07-03 Thread Pierre
tion from its string ! Is there a way around this ? thanks pierre --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http

[sage-support] Re: Permutations and cycle notation

2008-07-03 Thread Pierre
ooops. So sorry for not reading the doc fully. The answer is to use cycle_string(singletons= True). pierre On Jul 3, 7:38 pm, Pierre <[EMAIL PROTECTED]> wrote: > hi all, > > I'm confused with the cycle notation for permutations (bug ?) > While the following works: >

[sage-support] bilinear/quadratic forms

2008-07-10 Thread Pierre
! (of course it's not awfully complicated to write from scratch, but...) thanks pierre --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options,

[sage-support] problem with sum()

2008-07-10 Thread Pierre
educe(lambda x,y : x+y, list) which is cumbersome). along the same lines, my class has a __str__() method, and 'print x' works. But 'print L' where L is a list of such objects does not work... any idea? thanks a lot! pierre --~--~-~--~~~---~--~--

[sage-support] Re: problem with sum()

2008-07-10 Thread Pierre
t happens if __repr__ simply returns the same as __str__ ? thanks again! pierre --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group

[sage-support] Re: Plans for a Sage port to Solaris ??

2008-07-21 Thread Pierre
any...) even if they eventually give up on maths!) I'm also trying to tell my colleagues about sage. The main obstacle, or rather the first, is that we are running Solaris... (btw very interested in a binary for Solaris 10, on an x86, 64 bits if you have one...) anyway, keep up the good work! cheer

[sage-support] Re: Plans for a Sage port to Solaris ??

2008-07-22 Thread Pierre
nary ?? i sort of feel like a charlie ! cheers pierre --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google

[sage-support] Re: Plans for a Sage port to Solaris ??

2008-07-25 Thread Pierre
hind it ? (btw i'm obviously not root on the solaris machine) also, what sort of tests should i run ? is there a full test for sage ? to finish with, why is the sage folder much smaller than the one i have on my linux (ubuntu) machine ? thanks! pierre --~--~-~--~~~---

[sage-support] tachyon help

2008-08-19 Thread Pierre
.save("image.png") but no luck. any thoughts ? thanks! pierre --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~--~~~~--~~--~--~---

[sage-support] Re: tachyon help

2008-08-19 Thread Pierre
ried earlier: it would be good to have this 't' object working properly, so that you could change the tachyon options in passing (it does not seem possible with the solution i just gave). On Aug 19, 3:39 pm, Pierre <[EMAIL PROTECTED]> wrote: > hi there, > > Suppose i hav

[sage-support] failed to upgrade... again

2008-08-28 Thread Pierre
I'm on sage 3.0.2 on ubuntu, i've tried sage --upgrade and got this: checking for suitable m4... configure: error: No usable m4 in $PATH or /usr/5bin (see config.log for reasons). Failed to configure. i can't find the file config.log anyway. help ? --~--~-~--~~~---~-

[sage-support] Re: failed to upgrade... again

2008-08-28 Thread Pierre
ah, ok, m4 was just plain missing. I've installed it, the rest was there, let me try again ! On Aug 28, 3:32 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > On Thu, Aug 28, 2008 at 6:27 AM, Pierre <[EMAIL PROTECTED]> wrote: > > > I'm on sage 3.0.2

[sage-support] Re: failed to upgrade... again

2008-08-28 Thread Pierre
it seems to have worked ! thanks ! On Aug 28, 4:03 pm, Pierre <[EMAIL PROTECTED]> wrote: > ah, ok, m4 was just plain missing. I've installed it, the rest was > there, let me try again ! > > On Aug 28, 3:32 pm, "William Stein" <[EMAIL PROTECTED]> wrote

[sage-support] bug with sums of matrices

2008-09-10 Thread Pierre
to believe that sometimes sum() just gets the wrong answer (things that were supposed to commute didn't commute; but they were sums of things which did commute). Thoughts anyone ? Pierre --~--~-~--~~~---~--~~ To post to this group, send email to sage-sup

[sage-support] Re: bug with sums of matrices

2008-09-11 Thread Pierre
perhaps i should have posted to sage-devel instead ? i don't even know how to "properly" report a bug. On 10 sep, 18:53, Pierre <[EMAIL PROTECTED]> wrote: > hi there, > > i thought i'd report this bug, even though it's hard to reproduce and > n

[sage-support] Re: bug with sums of matrices

2008-09-11 Thread Pierre
thanks for all this ! > For the record, though, people on this list definitely respond faster > if you try to whittle down your examples to the smallest case you can > find that creates the error. I know. I just had no idea whatsoever which matrices would create the error ! in fact it took quite

[sage-support] Re: bug with sums of matrices

2008-09-16 Thread Pierre
cool ! now look for another bizarre bug report from me in a coming thread... On Sep 15, 7:03 pm, "Craig Citro" <[EMAIL PROTECTED]> wrote: > Pierre, > > You'll be happy to hear that I got the following response from the > Singular team this morning: > > ==

[sage-support] behaviour of reduce ?

2008-09-16 Thread Pierre
- y12) y13*y15 + y9 - y12 Now what's up with that ? shouldn't it be y13*y15 + 2*y9 ? that's what i expect from the term 'reduction' anyway. Is this normal or is it a bug ? if it's a bug, could it influence the equivalence x in J iff J.reduce(x) == 0 ? So if th

[sage-support] Re: behaviour of reduce ?

2008-09-16 Thread Pierre
What did you put in J ? in fact, the following already produces the bug (sorry for not trying earlier, i thought i did try and there was no bug... must have changed a little something): sage: k= CyclotomicField(3, "w") sage: A= PolynomialRing(k, ["y9", "y12", "y13", "y15"]) sage: y9, y12, y13, y1

[sage-support] Re: behaviour of reduce ?

2008-09-16 Thread Pierre
cool, thanks a lot ! On Sep 16, 6:42 pm, Martin Albrecht <[EMAIL PROTECTED]> wrote: > On Tuesday 16 September 2008, Pierre wrote: > > > > > What did you put in J ? in fact, the following already produces the > > bug (sorry for not trying earlier, i thought i di

[sage-support] Re: behaviour of reduce ?

2008-09-17 Thread Pierre
> Alternatively, the forementioned patches might be interesting to you since > they speed up multivariate polynomial arithmetic over absolute number fields > dramatically. All they need are reviews ... hint, hint ;-) i know absolutely nothing about patches, reviewing, contributing to sage or tha

[sage-support] Re: Using Sage with a large number of undergraduate students.

2008-10-08 Thread Pierre
> Ironically pretty much everything works under Solaris now but the > notebook. I think that issue is easy to fix (RAND_MAX related incidentally, is it possible to get knoboo to work on solaris instead of the notebook ? (sorry if this question is somewhat besides the point) --~--~-~--~--

[sage-support] Re: Cython editor

2008-10-09 Thread Pierre
the gedit editor, shipped with ubuntu and most gnome-based systems, is much underrated, it is in fact a very good choice. It is highly configurable, comparable to emacs i dare say, and you use python instead of lisp to configure it ! for example i have easily added to gedit a couple of tools to lo

[sage-support] Re: Cython editor

2008-10-10 Thread Pierre
> Do you have these changes posted somewhere? I'd like to try it out, if > possible. er, no, but here are a few hints. First try sage -grep "def" | grep "def " >~/.sage/sage_doc so you have a file in your .sage folder containing all the lines in SAGE's code containing the word "def " (i don't

[sage-support] Re: Cython editor

2008-10-10 Thread Pierre
quot;.*)\(") choices= [ regexp.search(s) for s in poss] choices= filter(lambda x: x is not None, choices) choices= [x.groups()[0] for x in choices] for choice in choices: print choice ----- if there were a massive popular

[sage-support] problem with emacs

2008-10-29 Thread Pierre
buffer and below C-c C-c python-send-buffer (that binding is currently shadowed by another mode) I've looked at sage-mode.el and sage-send-command does look like it relies on python-send-command, i've got to say (but i'm not very good with lisp). Help anyone ? thanks !! pierre --~-

[sage-support] Re: jsMath issue and solution with error code -7

2008-12-02 Thread Pierre
are you able to select "native tex fonts" in the jsmaths preferences ? i can only use "unicode fonts", they look okay but they're not the usual Tex fonts, that's for sure. On Dec 1, 5:17 pm, Jason Grout <[EMAIL PROTECTED]> wrote: > dpvc wrote: > > The real problem is not the missing fonts, but th

[sage-support] Re: jsMath issue and solution with error code -7

2008-12-02 Thread Pierre
Here's a solution to my problem -- I'm pretty sure it could be useful to other people. Trying to follow the instructions above, I misinterpreted "unzip the .zip here" (i *always* get these things wrong). the way i understood it, i ended up with files like /home/ foobar/.fonts/cmr10.ttf. However,

[sage-support] unstable modules + creating a small library

2009-01-19 Thread Pierre
know. Note that I've got more information on these algebras yet (Stiefel-Whitney classes...) And shall I think of a mechanism for people to download ALL the examples at once rather than separately ? (perhaps useful to try a conjecture about unstable modules ?) suggestions

[sage-support] Re: unstable modules + creating a small library

2009-01-20 Thread Pierre
7;ll use a dict indexed by the "group ID" as GAP understands it. will keep you posted, but don't hold your breath, i'm afraid i have a lot to do these days ! pierre On Jan 19, 4:57 pm, John H Palmieri wrote: > On Jan 19, 6:28 am, Pierre wrote: > > > hi all >

[sage-support] crash with groebner basis

2009-02-04 Thread Pierre
and, if i try again, i get the unexpected: sage: I.groebner_basis() verbose 0 (1790: multi_polynomial_ideal.py, groebner_basis) Warning: falling back to very slow toy implementation. [a, b] what's up ? i'm using sage 3.1.4.

[sage-support] Re: crash with groebner basis

2009-02-04 Thread Pierre
hich are case-sensitive ? cheers pierre --~--~-~--~~~---~--~~ 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, visit this group at http://gro

[sage-support] is the trivial group not abelian ??

2009-02-10 Thread Pierre
surely there's an easy fix for this: sage: G= PermutationGroup([]) sage: G Permutation Group with generators [] sage: G.is_abelian() --- TypeError Traceback (most recent call last) /Users/pedr

[sage-support] Re: is the trivial group not abelian ??

2009-02-10 Thread Pierre
i'm on 3.1.4... time to upgrade, perhaps ! On Feb 10, 1:42 pm, mabshoff wrote: > On Feb 10, 3:18 am, Pierre wrote: > > Hi Pierre, > > > surely there's an easy fix for this: > > > sage: G= PermutationGroup([]) > > sage: G > > Permutatio

[sage-support] Re: is the trivial group not abelian ??

2009-02-10 Thread Pierre
le_sage failed. well i guess i'll just download another binary, as usual ! but if there's a one-line fix, i'd be happy/curious to know about it. pierre --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com T

[sage-support] Re: is the trivial group not abelian ??

2009-02-10 Thread Pierre
sense of pride. I also didn't have to create a LIB link to lib, which is cool (the OS X case-sensitive filesystem thing). I'll see if the updates indeed go smoother, but i should expect that they do. thanks ! pierre --~--~-~--~~~---~--~~ To post to this g

[sage-support] plots in sage-view, within emacs

2009-02-18 Thread Pierre
that i've ever used it much anyway). thanks ! pierre --~--~-~--~~~---~--~~ 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, visit this

[sage-support] question to David Joyner about the rubik's cube

2009-02-25 Thread Pierre
roup() sage: r= rubik.R() sage: l= rubik.L() sage: u= rubik.U() sage: d= rubik.D() sage: f= rubik.F() sage: b= rubik.B() sage: mr = r^(-1)*l sage: flip= (mr*u)^3*u*(mr^(-1)*u)^3*u sage: P= rubik.plot3d_cube(flip); show(P) the result is a bit of a mess. what am i getting wrong ? thanks ! Pierre -

[sage-support] Re: question to David Joyner about the rubik's cube

2009-02-25 Thread Pierre
the picture. I myself was a student in england so i'm a bit different in this respect... however i'm sure i'll use the book when teaching sage, providing that happens. thanks pierre --~--~-~--~~~---~--~~ To post to this group, send email to sage

[sage-support] public worksheet, and methods for exporting

2009-03-13 Thread Pierre
? So there's no need to rely on sagenb.org (which i suspect is having trouble today, it seems very slow from here). Of course I mean that we don't have sage running on the university servers yet... thanks ! Pierre --~--~-~--~~~---~--~~ To post to this gro

[sage-support] Re: public worksheet, and methods for exporting

2009-03-13 Thread Pierre
> Interacts don't work on published worksheets for security reasons. Ah ! that explains it. Could do an "animate" instead... >  Note that sagenb.org is not > designed to support classes as a class sage server; rather, it's > designed to give a person a way to try out Sage. Is there anything wr

[sage-support] Re: How to use Sage with Linux Ubuntu or Mandriva

2009-03-26 Thread Pierre
what happens if you open a terminal, go to the directory where sage was extracted, and type ./sage ? On Mar 25, 10:08 pm, christophe van der putten wrote: > Hi, > I install Linux Ubuntu in my PC (Intel Pentium Dual Core, 2Gega RAM), > after that i extract the version  sage3.4 on this OS. And w

[sage-support] create a subdiagonal matrix quickly

2009-06-19 Thread Pierre
ear this from a colleague) these matrices (and their sums, transpose, etc) show up all the time in numerical stuff. i know numpy does it, so is it there for sage matrices also ? thanks pierre --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@g

[sage-support] Re: create a subdiagonal matrix quickly

2009-06-19 Thread Pierre
ive. But i thought it would give an idea of an opinion that's around, and feedback is always good, right ? pierre On 19 juin, 15:59, Jason Grout wrote: > Harald Schilly wrote: > > On Jun 19, 12:50 pm, Pierre wrote: > >> i know numpy does it, so is it there for sage matrices also

[sage-support] Re: create a subdiagonal matrix quickly

2009-06-20 Thread Pierre
> Of course, there are a lot of different pieces of software in the > background. One strength of Sage is that it provides a uniform way of > communicating with all these pieces of software, namely via Python/ > Cython. This is like a good travel agent: You say that you want to go > from London to

[sage-support] Re: 2d plot

2009-07-31 Thread Pierre
what about the following ? y=0.25 plot(lambda x : f(x, y), (0,1) ) to try different values of y on the same graph, go: sum( [plot(lambda x : f(x,y), (0,1)) for y in srange(0, 1, 0.1)]) and of course there is plot3d( lambda x, y : f(x, y), (0,1), (0,1) ) Btw it seems the maximum of f(x,y

[sage-support] Re: Is it possible to replace the list built-in type in Sage?

2009-08-03 Thread Pierre
pply to "numbers", but that would be re-inventing the idea of the "vector" class, and i thought re-inventing the wheel was against sage's philosophy. On the other hand, [ 1 + x for x in [2,3,4,5]] appeals to both mathematicians and geeks. yours, Pierre --~--~-~-

[sage-support] Re: accessing sage notebook with android phone

2009-08-03 Thread Pierre
call it 3G or whatever, don't know if that's universal) also, now that android supports python, is it possible to install numpy, or parts of SAGE, directly? anyone has tried that ? thanks! pierre On Aug 3, 3:25 am, Dan Christensen wrote: > Dan Christensen writes: > >

[sage-support] Re: accessing sage notebook with android phone

2009-08-03 Thread Pierre
the ones written in pure python (as oppposed to relying on singular or maxima etc) Well, i guess just having python is already quite cool for quick computations... pierre On 3 août, 16:50, Dan Christensen wrote: > Pierre writes: > > I was thinking about buying an android phone, and get

[sage-support] sage -upgrade failed on OS X

2009-08-29 Thread Pierre
ou should run %upgrade? WARNING: Loading of ipy_profile_sage failed. KeyboardInterrupt KeyboardInterrupt KeyboardInterrupt KeyboardInterrupt KeyboardInterrupt KeyboardInterrupt KeyboardInterrupt quit() mac-mini-de-pedro-zero:~ pedrozero$ you

[sage-support] Re: sage -upgrade failed on OS X

2009-08-29 Thread Pierre
21             return self.__class__.__missing__(self, key) > > ---> 22         raise KeyError(key) > >     23     def __setitem__(self, key, item): self.data[key] = item > >     24     def __delitem__(self, key): del self.data[key] > > > KeyError: 'SAGE_DOC'

[sage-support] Re: English grammar of numbers

2009-08-30 Thread Pierre
hi all, two comments: (1) Simon, let me offer the following pedantic comment which i advise you to ignore (!). Technically, i believe that writing "a 2-cocycle" is incorrect anyway, as it should be "a two-cocycle". Likewise, "the proof splits into 2 cases" should be "the proof splits into two ca

[sage-support] sage 4.1.1 + sage-mode 0.6 = broken sage-view

2009-09-02 Thread Pierre
ith this version ? no more (require 'pyrex "pyrex-mode") and the like ? help anyone ? thanks! pierre PS i'm on aquamacs. --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, s

[sage-support] Re: sage 4.1.1 + sage-mode 0.6 = broken sage-view

2009-09-03 Thread Pierre
) (require 'sage-view "sage-view") (add-hook 'sage-startup-hook 'sage-view) same problem. What else could I try to see where the issue comes from ? pierre On 2 sep, 18:21, Nick Alexander wrote: > On Sep 2, 8:52 am, Pierre wrote: > > > hi, > > > I&#x

[sage-support] PIL decoder jpeg not available

2009-09-22 Thread Pierre
this happens is explained here : http://effbot.org/zone/pil-decoder-jpeg-not-available.htm unfortunately, not having installed the PIL manually with a setup.py, i don't know what to do. Help anyone ? thanks ! Pierre --~--~-~--~~~---~--~~ To post to this group, se

[sage-support] Re: PIL decoder jpeg not available

2009-09-23 Thread Pierre
Mac OS X. Sage was compiled from source. This all seems like a path problem, really. --~--~-~--~~~---~--~~ 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 F

[sage-support] Re: PIL decoder jpeg not available

2009-09-24 Thread Pierre
Is it just me then ? can everyone else use the PIL with jpeg ? i've got two macs with a slightly different version of leopard, this fails on both. On 23 sep, 18:15, Pierre wrote: > Mac OS X. Sage was compiled from source. > > This all seems like a path p

[sage-support] Re: PIL decoder jpeg not available

2009-09-24 Thread Pierre
I'd be very interested in a solution (preferably a very simple one:-) > since I have a mac as well and have experienced the same problem > you reported. > > On Thu, Sep 24, 2009 at 10:22 AM, Pierre wrote: > > > Is it just me then ? can everyone else use the PIL with jpeg ?

[sage-support] symmetric polynomials

2009-10-19 Thread Pierre
in C++ a couple of years ago, but converting the sage polynomial is already too much work... thanks pierre --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-uns

[sage-support] Re: symmetric polynomials

2009-10-19 Thread Pierre
Thanks. This works, but it is so very slow : sage: foo= (x0 + x1 + x2 + x3)^1; sage.libs.symmetrica.all.t_POLYNOM_ELMSYM( foo ) e[1] #immediate sage: foo= (x0 + x1 + x2 + x3)^2; sage.libs.symmetrica.all.t_POLYNOM_ELMSYM( foo ) e[1, 1] #also immediate sage: foo= (x0 + x1 + x2 + x3)^3; sage.

[sage-support] Re: symmetric polynomials

2009-10-20 Thread Pierre
): >     temp = 0 >     for p in combinations([0,1,2,3],i): >         temp = temp + prod([xvars[p[j]] for j in range(i)]) >     sym.append(sage_eval('e'+str(i), locals=locals())-temp) > symid = R.ideal(sym+[foo]).elimination_ideal([x0,x1,x2,x3]) > list(symid.gens()) > [

[sage-support] Re: symmetric polynomials

2009-10-20 Thread Pierre
> However, I am not sure if it is efficient to use these commands often. > Suppose f is a map from basering to some other ring R, and I, J are > ideals in R. Then, preimage(R,f,I) computes the preimage of I under f. > I guess internally some Groebner basis computation is done. When you > then do p

[sage-support] Re: symmetric polynomials

2009-10-20 Thread Pierre
> I guess there will be many people who can offer advise. Just start hacking > away and others (me included) can help you out once you have concrete > questions (probably best on [sage-devel]) that's been the plan for years now. Haven't started "hacking" yet... it probably doesn't help that i hav

  1   2   3   >