Re: [sage-support] Integration of piecewise function

2009-12-08 Thread David Joyner
Unfortunately, the piecewise class was written before the symbolic expressions class and has not kept pace. The obvious solution produced this: sage: signal = Piecewise([[(0,1), cos(2*pi*1*x)], [(-1, 0), 0*x]]) sage: signal.integral(definite=True) ---

[sage-support] Integration of piecewise function

2009-12-08 Thread Sand Wraith
Hello, there is signal function: signal = Piecewise([ [(0,5), cos(2*pi*1*x) ], [(5,10), cos(2*pi*2.5*x) ], ]) And window function: window = Piecewise([[(-1,1),1]]) And the result function: r=window*signal How can I integrate it now? I'am trying: r.integral(definite=True) but it leads to error

[sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread Jason Grout
Robert Bradshaw wrote: >> With my design -- which just happens to be the bog >> standard design that is used everywhere (web pages, etc.), imho -- >> even autogenerated references would work fine (since they are >> relative). Plus, sticking with a standard design means it will be >> easier for p

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread William Stein
On Tue, Dec 8, 2009 at 12:41 PM, Robert Bradshaw wrote: > On Dec 8, 2009, at 12:26 PM, William Stein wrote: > >> On Tue, Dec 8, 2009 at 12:14 PM, Jason Grout >> wrote: >>> William Stein wrote: >>> > I guess what I'm advocating is that it would be useful for the > underlying ID to be (prob

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread Robert Bradshaw
On Dec 8, 2009, at 12:26 PM, William Stein wrote: > On Tue, Dec 8, 2009 at 12:14 PM, Jason Grout > wrote: >> William Stein wrote: >> I guess what I'm advocating is that it would be useful for the underlying ID to be (probabilistically) globally unique, not just unique for a user or

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread William Stein
On Tue, Dec 8, 2009 at 12:31 PM, Robert Bradshaw wrote: > On Dec 8, 2009, at 11:54 AM, William Stein wrote: > >> On Tue, Dec 8, 2009 at 11:04 AM, Robert Bradshaw >> wrote: >>> >>> >>> I think you misunderstood my proposal-- >> >> Yes, I'm sure I did, since I also don't understand your further >>

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread Robert Bradshaw
On Dec 8, 2009, at 11:54 AM, William Stein wrote: > On Tue, Dec 8, 2009 at 11:04 AM, Robert Bradshaw > wrote: >> >> >> I think you misunderstood my proposal-- > > Yes, I'm sure I did, since I also don't understand your further > explanation of it below. > >> all the user would see is the >> frien

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread William Stein
On Tue, Dec 8, 2009 at 12:14 PM, Jason Grout wrote: > William Stein wrote: > >>> I guess what I'm advocating is that it would be useful for the >>> underlying ID to be (probabilistically) globally unique, not just >>> unique for a user or a specific notebook server. >> >> (1) How is that useful? >

[sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread Jason Grout
William Stein wrote: >> I guess what I'm advocating is that it would be useful for the >> underlying ID to be (probabilistically) globally unique, not just >> unique for a user or a specific notebook server. > > (1) How is that useful? > (2) Why don't web pages, wiki pages (?), latex documents, e

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread William Stein
On Tue, Dec 8, 2009 at 11:04 AM, Robert Bradshaw wrote: > On Dec 8, 2009, at 10:17 AM, William Stein wrote: > >> On Tue, Dec 8, 2009 at 9:06 AM, Robert Bradshaw >> wrote: >>> On Dec 8, 2009, at 4:49 AM, Stan Schymanski wrote: >>> Robert Bradshaw wrote: [SNIP] > Making notebook IDs t

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread Robert Bradshaw
On Dec 8, 2009, at 10:17 AM, William Stein wrote: > On Tue, Dec 8, 2009 at 9:06 AM, Robert Bradshaw > wrote: >> On Dec 8, 2009, at 4:49 AM, Stan Schymanski wrote: >> >>> Robert Bradshaw wrote: >>> [SNIP] Making notebook IDs that are not simply consecutive integers would solve nearly all

Re: [sage-support] coercion bug + help please

2009-12-08 Thread William Stein
On Tue, Dec 8, 2009 at 8:47 AM, Pierre wrote: > this is definitely a bug, right ? > > sage: k= CyclotomicField(4, "i") > sage: poly= PolynomialRing(k, "x") > sage: x= poly.gen() > sage: p= 3; K= NumberField(x^2 - p, "r") > sage: i= K( k.gen() ) > sage: CDF(i) > 2.31897834269e-14 - 1.0*I > > So i i

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread William Stein
On Tue, Dec 8, 2009 at 4:49 AM, Stan Schymanski wrote: > Robert Bradshaw wrote: > [SNIP] >> Making notebook IDs that are not simply consecutive >> integers would solve nearly all of your issues above, and I think a >> lot of people (myself included) would appreciate that. Either short >> names or

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread William Stein
On Tue, Dec 8, 2009 at 9:06 AM, Robert Bradshaw wrote: > On Dec 8, 2009, at 4:49 AM, Stan Schymanski wrote: > >> Robert Bradshaw wrote: >> [SNIP] >>> Making notebook IDs that are not simply consecutive >>> integers would solve nearly all of your issues above, and I think a >>> lot of people (mysel

Re: [sage-support] Re: Importing sage appliance error in virtualbox 3.1.0

2009-12-08 Thread William Stein
On Tue, Dec 8, 2009 at 9:48 AM, hms wrote: > Everything seems fine:  virtualbox no longer crashes after "import > appliance"; sage command line and notebook are working. > > --hms > Excellent. Many thanks for testing this! William -- To post to this group, send email to sage-support@googlegrou

Re: [sage-support] Re: unsubscribe

2009-12-08 Thread Minh Nguyen
Hi Robert, On Wed, Dec 9, 2009 at 4:08 AM, Robert Bradshaw wrote: > It should be sage-support+unsubscr...@googlegroups.com > > http://groups.google.com/support/bin/answer.py?hl=en&answer=46608 Thank you very much for pointing this out. I have accordingly adjusted the footers of sage-support a

Re: [sage-support] Re: unsubscribe

2009-12-08 Thread David Joyner
On Tue, Dec 8, 2009 at 12:08 PM, Robert Bradshaw wrote: > On Dec 8, 2009, at 8:05 AM, kcrisman wrote: > >> I don't get why people can't unsubscribe themselves? > > They can. This is footer is wrong: > >> To post to this group, send email to sage-support@googlegroups.com >> To unsubscribe from this

Re: [sage-support] Re: Importing sage appliance error in virtualbox 3.1.0

2009-12-08 Thread hms
Everything seems fine: virtualbox no longer crashes after "import appliance"; sage command line and notebook are working. --hms William Stein wrote: > On Tue, Dec 8, 2009 at 6:59 AM, Harald Schilly > wrote: > > On Dec 8, 12:45 am, William Stein wrote: > >> Thanks.  I'll upgrade my virtualbox

[sage-support] Re: notebook: resetting a user's password

2009-12-08 Thread John Cremona
Brilliant, thanks. Very easy, and it works! Sorry I did not find that myself the Manage Users facility looks excellent! John On Dec 8, 4:39 pm, William Stein wrote: > On Tue, Dec 8, 2009 at 6:47 AM, John Cremona wrote: > > Is it possible to reset the password of a use who has created an >

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread Robert Bradshaw
On Dec 8, 2009, at 4:49 AM, Stan Schymanski wrote: > Robert Bradshaw wrote: > [SNIP] >> Making notebook IDs that are not simply consecutive >> integers would solve nearly all of your issues above, and I think a >> lot of people (myself included) would appreciate that. Either short >> names or glob

Re: [sage-support] Re: unsubscribe

2009-12-08 Thread Robert Bradshaw
On Dec 8, 2009, at 8:05 AM, kcrisman wrote: > I don't get why people can't unsubscribe themselves? They can. This is footer is wrong: > 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

[sage-support] please unsubscribe me. thanks

2009-12-08 Thread Jenya Polyakova
-- 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://groups.google.com/group/sage-support URL: http://www.sagemath.org

[sage-support] Re: Integer points of an elliptic curve

2009-12-08 Thread John Cremona
The topic of integer points on elliptic curves is a big and interesting one, which should probably be discussed in sage-nt rather than sage-support (if one sage-* at all!). So I will be brief. This is NOT about the Nagel-Lutz Theorem. That says that points of finite order on elliptic curves (def

[sage-support] coercion bug + help please

2009-12-08 Thread Pierre
this is definitely a bug, right ? sage: k= CyclotomicField(4, "i") sage: poly= PolynomialRing(k, "x") sage: x= poly.gen() sage: p= 3; K= NumberField(x^2 - p, "r") sage: i= K( k.gen() ) sage: CDF(i) 2.31897834269e-14 - 1.0*I So i is converted to roughly -i... which can makes sense as it's just a c

Re: [sage-support] notebook: resetting a user's password

2009-12-08 Thread William Stein
On Tue, Dec 8, 2009 at 6:47 AM, John Cremona wrote: > Is it possible to reset the password of a use who has created an > account but forgotten her password? > > When I looked at the docstring of notebook() I found it rather > confusing:  especially this part: > >           accounts      -- (defaul

Re: [sage-support] Re: Importing sage appliance error in virtualbox 3.1.0

2009-12-08 Thread William Stein
On Tue, Dec 8, 2009 at 6:59 AM, Harald Schilly wrote: > On Dec 8, 12:45 am, William Stein wrote: >> Thanks.  I'll upgrade my virtualbox and re-export the virtualmachine. >> > > Updated virtualbox image now available. > Downloaded best via a metalink using http://www.downthemall.net/ or > http://a

[sage-support] Re: unsubscribe

2009-12-08 Thread kcrisman
I don't get why people can't unsubscribe themselves? - kcrisman On Dec 8, 10:44 am, Minh Nguyen wrote: > Hi Neil, > > On Wed, Dec 9, 2009 at 2:20 AM, Neil MacKenzie > wrote: > > please > > :-) > > At your request, you are now unsubscribed from the sage-support mailing list. > > -- > Regards >

Re: [sage-support] unsubscribe

2009-12-08 Thread Minh Nguyen
Hi Neil, On Wed, Dec 9, 2009 at 2:20 AM, Neil MacKenzie wrote: > please > :-) At your request, you are now unsubscribed from the sage-support mailing list. -- Regards Minh Van Nguyen -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send em

[sage-support] unsubscribe

2009-12-08 Thread Neil MacKenzie
please:-) -- 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://groups.google.com/group/sage-support URL: http://www.sagemath.org

[sage-support] Re: Importing sage appliance error in virtualbox 3.1.0

2009-12-08 Thread Harald Schilly
On Dec 8, 12:45 am, William Stein wrote: > Thanks.  I'll upgrade my virtualbox and re-export the virtualmachine. > Updated virtualbox image now available. Downloaded best via a metalink using http://www.downthemall.net/ or http://aria2.sourceforge.net/ and this file: http://www.sagemath.org/mirro

[sage-support] notebook: resetting a user's password

2009-12-08 Thread John Cremona
Is it possible to reset the password of a use who has created an account but forgotten her password? When I looked at the docstring of notebook() I found it rather confusing: especially this part: accounts -- (default: False) if True, any visitor to the

Re: [sage-support] Re: losing confidence in Sage notebooks

2009-12-08 Thread Stan Schymanski
Robert Bradshaw wrote: [SNIP] > Making notebook IDs that are not simply consecutive > integers would solve nearly all of your issues above, and I think a > lot of people (myself included) would appreciate that. Either short > names or globally unique identifiers (or some combination of both)

[sage-support] Re: unsubscribe

2009-12-08 Thread Minh Nguyen
Hi Arun, On Tue, Dec 8, 2009 at 2:56 PM, arun Muktibodh wrote: > Please unsubscribe me. At your request, I have unsubscribed you from the sage-support mailing list. -- Regards Minh Van Nguyen -- To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group