[sage-support] Re: cimport finite field fails?

2007-12-04 Thread Carlo Hamalainen
On Dec 5, 2007 6:47 AM, William Stein <[EMAIL PROTECTED]> wrote: > In appreciation of this, any chance you could add a FAQ entry based on what > you just learned? thanks! > >http://wiki.sagemath.org/faq I added a small example program that constructs a field and gets a few elements since

[sage-support] Re: SAGE-2.8.15!

2007-12-04 Thread mabshoff
On Dec 4, 10:30 pm, "Justin C. Walker" <[EMAIL PROTECTED]> wrote: > On Dec 4, 2007, at 1:04 PM, mabshoff wrote: > > > On Dec 4, 9:33 pm, "Justin C. Walker" <[EMAIL PROTECTED]> wrote: > >> On Dec 3, 2007, at 23:27 , William Stein wrote: > >> Still seeing mwrank crashing during the tests (10.5), b

[sage-support] Re: cimport finite field fails?

2007-12-04 Thread Carlo Hamalainen
On Dec 5, 2007 6:47 AM, William Stein <[EMAIL PROTECTED]> wrote: > In appreciation of this, any chance you could add a FAQ entry based on what > you just learned? thanks! > >http://wiki.sagemath.org/faq Done :-) -- Carlo Hamalainen http://carlo-hamalainen.net --~--~-~--~~-

[sage-support] Re: SAGE-2.8.15!

2007-12-04 Thread Justin C. Walker
On Dec 4, 2007, at 1:04 PM, mabshoff wrote: > On Dec 4, 9:33 pm, "Justin C. Walker" <[EMAIL PROTECTED]> wrote: >> On Dec 3, 2007, at 23:27 , William Stein wrote: >> Still seeing mwrank crashing during the tests (10.5), but no comment >> in the logs. > > Any chance you could narrow this down to a

[sage-support] Re: SAGE-2.8.15!

2007-12-04 Thread mabshoff
On Dec 4, 9:33 pm, "Justin C. Walker" <[EMAIL PROTECTED]> wrote: > On Dec 3, 2007, at 23:27 , William Stein wrote: > > > > > Hello folks, > > > Sage 2.8.15 has been released. It is available at > > >http://sagemath.org/download.html > > Built and tested w/o errors on Mac OS X, as fol

[sage-support] Re: cimport finite field fails?

2007-12-04 Thread William Stein
On Dec 4, 2007 12:40 PM, Carlo Hamalainen <[EMAIL PROTECTED]> wrote: > > On Dec 5, 2007 12:22 AM, Martin Albrecht <[EMAIL PROTECTED]> wrote: > > try: > > > > #clang c++ > > #clib givaro gmpxx gmp m stdc++ > > cimport sage.rings.finite_field_givaro > > > > i.e. you need to use C++ to compile your c

[sage-support] Re: cimport finite field fails?

2007-12-04 Thread Carlo Hamalainen
On Dec 5, 2007 12:22 AM, Martin Albrecht <[EMAIL PROTECTED]> wrote: > try: > > #clang c++ > #clib givaro gmpxx gmp m stdc++ > cimport sage.rings.finite_field_givaro > > i.e. you need to use C++ to compile your code as both Givaro and NTL are C++ > libraries and you need to link in a bunch of libra

[sage-support] Re: SAGE-2.8.15!

2007-12-04 Thread Justin C. Walker
On Dec 3, 2007, at 23:27 , William Stein wrote: > > Hello folks, > > Sage 2.8.15 has been released. It is available at > >http://sagemath.org/download.html Built and tested w/o errors on Mac OS X, as follows, both with "parallel make": 10.4.11 (Dual Quad-Core Xeon -j6): real

[sage-support] Re: Upgrade ate my worksheets

2007-12-04 Thread Justin C. Walker
On Dec 4, 2007, at 07:24 , William Stein wrote: > > On Dec 4, 2007 6:00 AM, mabshoff > <[EMAIL PROTECTED]> wrote: >> >> >> >> On Dec 4, 11:44 am, fwc <[EMAIL PROTECTED]> wrote: > > >> >>> I'm still not sure how to recover my old worksheets. Should I be >>> looking elsewhere? >>> >>> -- >>>

[sage-support] Re: SAGE-2.8.15!

2007-12-04 Thread gginiu
oh, message at about same minute...btw... check out: http://tolstoy.newcastle.edu.au/R/e2/help/06/10/3553.html - seem there is optional package that can deal with it --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubsc

[sage-support] Re: SAGE-2.8.15!

2007-12-04 Thread Andrzej Giniewicz
I don't actually know, but as I mentioned before, even when I run version from that package outside of sage, I get that error about X11... --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send e

[sage-support] Re: SAGE-2.8.15!

2007-12-04 Thread William Stein
On Dec 4, 2007 8:17 AM, Andrzej Giniewicz <[EMAIL PROTECTED]> wrote: > > > I was able to get the image to work last time I tried, so it's definitely > > possible. > > when I do sage: r.png() I get: > > : Error in function (filename = "Rplot > %03d.png", width = 480, height = 480, : > X11 is not

[sage-support] Re: SAGE-2.8.15!

2007-12-04 Thread William Stein
On Dec 4, 2007 8:17 AM, Andrzej Giniewicz <[EMAIL PROTECTED]> wrote: > > > I was able to get the image to work last time I tried, so it's definitely > > possible. > > when I do sage: r.png() I get: > > : Error in function (filename = "Rplot > %03d.png", width = 480, height = 480, : > X11 is not

[sage-support] Re: SAGE-2.8.15!

2007-12-04 Thread Andrzej Giniewicz
> I was able to get the image to work last time I tried, so it's definitely > possible. when I do sage: r.png() I get: : Error in function (filename = "Rplot %03d.png", width = 480, height = 480, : X11 is not available and well.. that's both from console and notebook, and from plain R /o

[sage-support] Re: deleting published worksheets

2007-12-04 Thread William Stein
On Dec 4, 2007 7:42 AM, john_perry_usm <[EMAIL PROTECTED]> wrote: > > Hi, > > I'm sure I've seen this somewhere, but I can't find it now. How do I > delete a published worksheet? This is unfortunately not implemented. It will hopefully get implemented soon... i.e., when the quarter is over. -

[sage-support] Re: SAGE-2.8.15!

2007-12-04 Thread William Stein
On Dec 4, 2007 7:51 AM, gginiu <[EMAIL PROTECTED]> wrote: > > Hi, > > > sage: install_package('sage -i r-2.6.1rc.p1') > > I actually installed through command line, but it's mostly same - it > went ok, but. > > > and report back whether the install works for you or not (it's an > > experiment

[sage-support] Re: SAGE-2.8.15!

2007-12-04 Thread gginiu
Hi, > sage: install_package('sage -i r-2.6.1rc.p1') I actually installed through command line, but it's mostly same - it went ok, but. > and report back whether the install works for you or not (it's an experimental > package still, which means that it's likely to *not* work for a lot of >

[sage-support] deleting published worksheets

2007-12-04 Thread john_perry_usm
Hi, I'm sure I've seen this somewhere, but I can't find it now. How do I delete a published worksheet? regards john perry --~--~-~--~~~---~--~~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL

[sage-support] Re: SAGE-2.8.15!

2007-12-04 Thread William Stein
On Dec 4, 2007 6:25 AM, gginiu <[EMAIL PROTECTED]> wrote: > > Hi, > > > There already is an optional/experimental R.spkg and because of rpy > > little integration work into Python needs to be done. It will probably > > take a while to expose all the functionality desired by Sage > > developers dir

[sage-support] Re: Upgrade ate my worksheets

2007-12-04 Thread William Stein
On Dec 4, 2007 6:00 AM, mabshoff <[EMAIL PROTECTED]> wrote: > > > > On Dec 4, 11:44 am, fwc <[EMAIL PROTECTED]> wrote: > > > I'm still not sure how to recover my old worksheets. Should I be > > looking elsewhere? > > > > -- > > > > If the files are now going to be in ~/.sage/sage_notebook

[sage-support] Re: Upgrade ate my worksheets

2007-12-04 Thread William Stein
On Dec 4, 2007 6:00 AM, mabshoff <[EMAIL PROTECTED]> wrote: > > > > On Dec 4, 11:44 am, fwc <[EMAIL PROTECTED]> wrote: > > I successfully upgraded 2.8.14 -> 2.8.15 [Mac OS X 10.4.11, 2 GHz > > Intel Core 2 Duo, 1 GB]. > > > > But my worksheets do not appear when I do sage -notebook Your workshee

[sage-support] Re: SAGE-2.8.15!

2007-12-04 Thread mabshoff
On Dec 4, 3:25 pm, gginiu <[EMAIL PROTECTED]> wrote: > Hi, > > > There already is an optional/experimental R.spkg and because of rpy > > little integration work into Python needs to be done. It will probably > > take a while to expose all the functionality desired by Sage > > developers directly

[sage-support] Re: SAGE-2.8.15!

2007-12-04 Thread gginiu
Hi, > There already is an optional/experimental R.spkg and because of rpy > little integration work into Python needs to be done. It will probably > take a while to expose all the functionality desired by Sage > developers directly, but we need to start by including it. well, then if there is an

[sage-support] Re: cimport finite field fails?

2007-12-04 Thread Martin Albrecht
Hi Carlo, try: #clang c++ #clib givaro gmpxx gmp m stdc++ cimport sage.rings.finite_field_givaro i.e. you need to use C++ to compile your code as both Givaro and NTL are C++ libraries and you need to link in a bunch of libraries. Martin PS: I know, "clang c++" is not a very nice idea for an

[sage-support] Re: cimport finite field fails?

2007-12-04 Thread mabshoff
On Dec 3, 11:32 pm, "Carlo Hamalainen" <[EMAIL PROTECTED]> wrote: > Hi, > > I want to write a spyx file to do some things with finite fields. I'm > guessing that my first step is to cimport either finite_field_givaro > or finite_field_ntl_gf2e (given that the pxd files exist in my sage > source

[sage-support] Re: Upgrade ate my worksheets

2007-12-04 Thread mabshoff
On Dec 4, 11:44 am, fwc <[EMAIL PROTECTED]> wrote: > I successfully upgraded 2.8.14 -> 2.8.15 [Mac OS X 10.4.11, 2 GHz > Intel Core 2 Duo, 1 GB]. > > But my worksheets do not appear when I do sage -notebook > > I'm told that "The notebook files are stored in: ~/.sage/ > sage_notebook", but the

[sage-support] Re: SAGE-2.8.15!

2007-12-04 Thread mabshoff
On Dec 4, 11:24 am, Andrzej Giniewicz <[EMAIL PROTECTED]> wrote: > WooHoo :) > > that's great news... I'm just upgrading it to look around asap... :) > > btw, is it really true that R interface is so-almost-ready that it > could be included in release planned for end of week so in few days? I >

[sage-support] Re: Weaning

2007-12-04 Thread David Harvey
On Dec 4, 2007, at 5:09 AM, fwc wrote: >>> 1) Taylor series of a rational function. >> >>> This works: >>> sage: cos(x).taylor(x,0,2) >> >>> This doesn't: >>> sage: x/(1+x).taylor(x,0,2) >> >>> This is very confusing: > >> This is due to the fact that '.' binds tighter than '/'. For >> examp

[sage-support] Re: Computing discrete logarithm

2007-12-04 Thread David Joyner
Maybe printing the values makes it clearer? sage: R = Integers(125) sage: g = R.multiplicative_generator(); g 2 sage: b = g^3; b 8 sage: a = b^17; a 123 sage: a.log(b) 17 So, 123 = 8^(17) mod 125: sage: R(123).log(8) 17 sage: R(123) == R(8)^(17) True On Dec 4, 2007 5:59 AM, Timothy Clemans <[

[sage-support] Re: Weaning

2007-12-04 Thread fwc
On Dec 4, 2:30 am, "Mike Hansen" <[EMAIL PROTECTED]> wrote: > > 1) Taylor series of a rational function. > > > This works: > > sage: cos(x).taylor(x,0,2) > > > This doesn't: > > sage: x/(1+x).taylor(x,0,2) > > > This is very confusing: > This is due to the fact that '.' binds tighter than '/'

[sage-support] Upgrade ate my worksheets

2007-12-04 Thread fwc
I successfully upgraded 2.8.14 -> 2.8.15 [Mac OS X 10.4.11, 2 GHz Intel Core 2 Duo, 1 GB]. But my worksheets do not appear when I do sage -notebook I'm told that "The notebook files are stored in: ~/.sage/ sage_notebook", but there's no trace there. However they do seem to be in ~/sage_noteb

[sage-support] Computing discrete logarithm

2007-12-04 Thread Timothy Clemans
Hi I want to know how to compute discrete logarithms in Z_p, but I can't seem to understand the explanation on http://modular.math.washington.edu/sage/doc/html/const/node63.html I understand that 125 in "sage: r = Integers(125)" is m but what is 3 and what is 17? Is 3 a or is it b? When I tried

[sage-support] Re: SAGE-2.8.15!

2007-12-04 Thread Andrzej Giniewicz
WooHoo :) that's great news... I'm just upgrading it to look around asap... :) btw, is it really true that R interface is so-almost-ready that it could be included in release planned for end of week so in few days? I would be quite amazed to see it so soon :) regards, Andrzej Giniewicz. --~--~