[sage-devel] Re: Integration Development

2009-03-07 Thread mark mcclure
On Mar 7, 5:47 pm, Robert Dodier wrote: > mark mcclure wrote: > > (%i1) integrate(1/x^3, x, 1, inf); > > Integral is divergent > > It's been fixed in CVS, so it will be in the next release. That's great Robert, thanks! Mark --~--~-~--~~~---~--~~ To post to this g

[sage-devel] Re: Sage 3.4.rc0

2009-03-07 Thread slabbe
Hi, I just built sage-3.4.rc0 without problem this morning on Ubuntu 8.10. I have 3 failed tests (the first one was already written above) : $ uname -a Linux slabbe-laptop 2.6.27-11-generic #1 SMP Thu Jan 29 19:24:39 UTC 2009 i686 GNU/Linux File "/home/slabbe/sage-3.4.rc0/devel/sage/doc/en/bor

[sage-devel] Re: Integration Development

2009-03-07 Thread Robert Dodier
mark mcclure wrote: > (%i1) integrate(1/x^3, x, 1, inf); > > Integral is divergent It's been fixed in CVS, so it will be in the next release. Sorry for the bother. > (%i2) assume(p>1); > (%o2) [p > 1] > (%i3) integrate(1/x^p, x, 1, inf); > (%o3) 1/(p-1) Literal

[sage-devel] Re: coercion bug?

2009-03-07 Thread Mike Hansen
On Sat, Mar 7, 2009 at 12:49 PM, Mike Hansen wrote: > I'll rebase your coercion patches in the next hour. I've rebased the patch at #5423. I think the problem stems from this: sage: f(x,y)=x+y-1 sage: C = f.parent(); C Callable function ring with arguments (x, y) sage: C.has_coerce_map_from(SR

[sage-devel] Doc test bug...

2009-03-07 Thread Florent Hivert
Dear All, I'm stuck with a very annoying bug which prevent me to do any tests. Here are the symptoms: whereas at the interactive level things are working correctly, sage -t give my some errors. You can find below a traceback. As magically guessed by cwitty, this seems to be due to a file na

[sage-devel] Re: Debugging a doctest failure

2009-03-07 Thread Justin C. Walker
On Mar 7, 2009, at 12:48 , Carl Witty wrote: > > On Sat, Mar 7, 2009 at 12:22 PM, Justin C. Walker > wrote: >> What am I missing? > > You need a blank line before "TESTS:". The way you have it now, the > doctest system believes that the result of P + Q == BinaryQF([Integer(1),Integer(4)

[sage-devel] Re: Integration Development

2009-03-07 Thread Burcin Erocal
Hi, On Sat, 7 Mar 2009 01:19:05 -0800 (PST) clinton bowen wrote: > > I tried some Cosine Transforms found in the book 'Handbook of Integral > Equations' by Andrei D. Polyanin and > Alexander V. Manzhirov into sage and I found that sage was not able to > perform these integrals. As Robert Dod

[sage-devel] Re: coercion bug?

2009-03-07 Thread Mike Hansen
Hello, On Sat, Mar 7, 2009 at 12:32 PM, Robert Bradshaw wrote: > If anyone's thinking about working on this, I already have a patch to > move symbolics to the new coercion model, but it needs to be rebased > against 3.4. I'll rebase your coercion patches in the next hour. --Mike --~--~---

[sage-devel] Re: Debugging a doctest failure

2009-03-07 Thread Carl Witty
On Sat, Mar 7, 2009 at 12:22 PM, Justin C. Walker wrote: > What am I missing? You need a blank line before "TESTS:". The way you have it now, the doctest system believes that the result of >>> P + Q == BinaryQF([Integer(1),Integer(4),Integer(5)]) should be True TESTS: except with negative-fo

[sage-devel] Re: coercion bug?

2009-03-07 Thread Robert Bradshaw
On Mar 7, 2009, at 12:17 PM, Simon King wrote: > > Hi Jason, > > On 7 Mrz., 20:51, Jason Grout wrote: >> I don't know if the following error is in the vector code or the >> coercion system. It says it is a bug in coercion... >> >>

[sage-devel] Debugging a doctest failure

2009-03-07 Thread Justin C. Walker
Hi, all, I've got the following failure == sage -t "devel/sage-sk/sage/quadratic_forms/binary_qf.py" Traceback (most recent call last): File "/Users/tmp/sage-3.4.alpha0/tmp/binary_qf.py", line 1244, in runner=runner) F

[sage-devel] Re: coercion bug?

2009-03-07 Thread Simon King
Hi Jason, On 7 Mrz., 20:51, Jason Grout wrote: > I don't know if the following error is in the vector code or the > coercion system.  It says it is a bug in coercion... > > -- > | Sage Version 3.4.alpha0, Release Date: 2009-02-2

[sage-devel] Re: Integration Development

2009-03-07 Thread mark mcclure
On Mar 7, 1:27 pm, Robert Dodier wrote: > clinton bowen wrote: > > I tried some Cosine Transforms found in the book > > 'Handbook of Integral Equations' by Andrei D. > > Polyanin and Alexander V. Manzhirov into sage and > > I found that sage was not able to perform these > > integrals. > > For t

[sage-devel] coercion bug?

2009-03-07 Thread Jason Grout
I don't know if the following error is in the vector code or the coercion system. It says it is a bug in coercion... -- | Sage Version 3.4.alpha0, Release Date: 2009-02-24 | | Type notebook() for the GUI, and

[sage-devel] Re: Integration Development

2009-03-07 Thread Robert Dodier
clinton bowen wrote: > I tried some Cosine Transforms found in the book 'Handbook of Integral > Equations' by Andrei D. Polyanin and > Alexander V. Manzhirov into sage and I found that sage was not able to > perform these integrals. For the record, what are some of integrals you tried? > I gue

[sage-devel] Integration Development

2009-03-07 Thread clinton bowen
I tried some Cosine Transforms found in the book 'Handbook of Integral Equations' by Andrei D. Polyanin and Alexander V. Manzhirov into sage and I found that sage was not able to perform these integrals. I guess my questions are: How powerful is the integrate() function or how well versed is the

[sage-devel] Re: Reduced basis for lattice of polynomials over GF(2)

2009-03-07 Thread John Cremona
2009/3/7 Ryan Hinton : > > Thank you very much for the pointers!  I'll try the thesis and online > paper you mentioned in your follow-up email.  If I really need the > Lenstra paper I'll try plying the librarian with brownies or something. I could mail you a copy on Monday (assuming that I can fi