-
-
Notifications
You must be signed in to change notification settings - Fork 490
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lazy_list from various input data #16137
Comments
This comment has been minimized.
This comment has been minimized.
comment:3
Hi Ralf, I think that our third item also includes CFinite sequences. The difference is about how the function
or
Actually, even a closed form is a special case of The main task of this ticket is to write precise specifications of what we need... adapting the current implementation of |
This comment has been minimized.
This comment has been minimized.
comment:4
OK then please clarify the scope of the ticket. Also a periodic list is a special case of update. |
comment:5
I don't think it is a good design decision to have In any case, there is quite a large interesting hierarchy of formal power series and sequences, and it is in my opinion a very bad idea to single out rational or hypergeometric functions. Note that I am not at all against functionality that allows to define lazy lists recursively (on the contrary!), just please do not limit it to sequences built of numbers then. |
comment:6
Replying to @mantepse:
Hey Martin, There is no way |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
comment:8
I am aware that it looks like we would only look at numbers. But I was only listing what is already available in code. I would like to have an overview of the hierarchy you mention, not the least because it would help with the design of the code planned here. Where could such an overview (of the hierarchy of formal power series and sequences) be found? |
This comment has been minimized.
This comment has been minimized.
comment:9
Replying to @rwst:
Ralf, I do not understand what happened and if you did it on purpose. I modified the description twice and you reverted my changes twice !! It is very annoying. |
comment:10
What. No way. |
comment:12
Replying to @videlec:
Yes, please. Apparently, I opened the 'Modify ticket' form without editing, you saved your change, then (after display of the yellow warning) I saved my comment, and with it the content of the Modify ticket form. Sorry. |
This comment has been minimized.
This comment has been minimized.
comment:13
Replying to @rwst:
It is a bit strange that there is no warning that forbid you to add changes from version 6 when 7 is the current one... No problem, the previous version is back. |
comment:14
Replying to @rwst:
You can find some references in http://arxiv.org/abs/math/0702086. But this is certainly by no means complete. |
comment:15
I very much like the new description, nothing to add... |
comment:18
Hi there! Is there any news on this front? I'm especially interested because of the connection with #15673... |
comment:20
Great! No hurry, though... |
comment:22
Hi there ! I propose a draft of code for 'lazy_list_from_iterator' and 'lazy_list_from_fun'. I have to do choices :
Give me feedback ! Thanks New commits:
|
Changed branch from u/vdelecroix/16137 to u/dkrenn/16137 |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:115
|
comment:116
right. 32 bits vs 64 bits. I am fixing the corresponding doctests. |
Changed branch from u/dkrenn/16137 to u/vdelecroix/16137 |
comment:118
Replying to @videlec:
As the first number in
|
comment:119
Replying to @videlec:
What was the reason for merging? Was there any conflict? |
Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:
|
comment:121
Replying to @sagetrac-git:
Sorry for the delay (for some unknown reason I didn't got a notification about the commit; double-checked). Everything is fine now; thanks. |
Changed branch from u/vdelecroix/16137 to |
The
lazy_list
insage.misc.lazy_list
only deals with infinite list built from iterator.In many situations we want to create infinite list from more various data:
Those new lazy lists aim to be very basic Python objects. Their purpose is to be used as fast and reliable data structures in:
sage.combinat.words
, see also fast (lazy) infinite words #19620)See also: rational o.g.f. #15714, hypergeometric e.g.f. part of #2516
In the original proposal there was also ultimately periodic lazy lists (that would simply store two attributes for the pre-period and period). In this ticket we focus on the ones that need a cache mechanism.
CC: @MatthieuDien @videlec @nthiery @mantepse @rwst
Component: misc
Keywords: LazyPowerSeries, lazy_list, days57
Author: Matthieu Dien, Vincent Delecroix, Daniel Krenn
Branch/Commit:
f7960c1
Reviewer: Daniel Krenn
Issue created by migration from https://trac.sagemath.org/ticket/16137
The text was updated successfully, but these errors were encountered: