On Dec 9, 2008, at 8:29 PM, William Stein wrote:

>
> On Tue, Dec 9, 2008 at 5:19 PM, Tim Lahey <[EMAIL PROTECTED]> wrote:
>>
>>
>> On Dec 9, 2008, at 7:55 PM, William Stein wrote:
>>
>>>> I ran across this in some timestepping code I wrote for a ODE  
>>>> solver
>>>> for systems of second order ODEs. The general trick I used is to  
>>>> set
>>>> the first n-1 terms based upon the formula and set the final one to
>>>> the endpoint. It means that the final one may be shorter, but that
>>>> way
>>>> it always ends at the set endpoint.
>>>
>>> Any chance you could dive in and fixe srange?  It's a pure Python
>>> function in
>>> sage/misc/misc.py
>>>
>>
>> That's an awfully complicated function for what should be fairly  
>> simple.
>> I'm not entirely sure what is being done is some of that code so I  
>> don't
>> know if I want to touch it.
>
> Do it!  What's the worst that can happen?  It'll be refereed.  Maybe  
> you can
> write something better that is simpler too.
>
> William

I have marking this week and I'm likely starting a contract next week
so I don't think I'll have a chance to fix it until January at the  
earliest.

Cheers,

Tim.

---
Tim Lahey
PhD Candidate, Systems Design Engineering
University of Waterloo
http://www.linkedin.com/in/timlahey

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-devel@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-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to