Ask Your Question

Tlk's profile - activity

2019-08-24 13:20:28 -0500 received badge  Taxonomist
2016-11-06 04:20:03 -0500 received badge  Notable Question (source)
2013-10-25 08:32:23 -0500 received badge  Famous Question (source)
2013-08-09 12:58:57 -0500 received badge  Popular Question (source)
2013-02-06 10:10:57 -0500 received badge  Notable Question (source)
2012-04-30 22:55:37 -0500 received badge  Popular Question (source)
2011-01-06 21:21:30 -0500 commented answer How to set mutable an inmutable sequence.

I've been trying but it's really hard to find something about that on the doc :S

2011-01-06 03:47:11 -0500 commented answer How to set mutable an inmutable sequence.

Thanks for the explanation. There is nothing about "_is_immutable" on the doc?

2011-01-05 10:03:50 -0500 answered a question How to set mutable an inmutable sequence.

I think i have found the solution:

v._set_ inmutable=FALSE

Anything can link me something about that on the Documentation?

2011-01-03 19:19:36 -0500 commented answer How to set mutable an inmutable sequence.

Okey, thank you for the answer. Sorry about the Sequence staff, I guess that's because of my english vocabulary

2011-01-03 08:20:57 -0500 answered a question How to set mutable an inmutable sequence.

That's not a sequence.

seq = (1,2,3,4) <-- tuple sage: seq2 = list(seq) <-- list

I mean how to do mutable an inmutable sequence(http://www.sagemath.org/doc/reference...) like, for example: v = Sequence(range(5), universe=ZZ)

2011-01-03 01:22:44 -0500 commented answer How to reinitialize a generator.

It was my math teacher the one who told me that. I have to figure out how to do that, cause that's +2 points for my SAGE exam :-P

2011-01-02 16:12:45 -0500 asked a question How to set mutable an inmutable sequence.

I think the title is quite descriptive.

I would like to know, how can you set mutable an inmutable sequence. Is that even possible?

I would be very grateful if you can link me the file of the sage documentation where I can find that info.

Thanks.

2011-01-02 16:08:56 -0500 answered a question How to reinitialize a generator.

Thanks both of you for the answers.

I have been told there must be a way to reset a generator without re-declaring it, and i have to find it :S I have been for long time on the doc searching, but I either found the way to reset it, or that there is no way to do that.

Could you link me from the documentation where it is said that you cannot reset a generator? (or how to, if it is actually possible)

2011-01-01 14:42:59 -0500 received badge  Student (source)
2011-01-01 12:54:52 -0500 received badge  Editor (source)
2011-01-01 12:06:44 -0500 asked a question How to reinitialize a generator.

Hi,

I would like to know how to reinitialize/reset a generator. I mean, if I for example have:

sage: generator = (n for n in range(1,10000) if (is_prime(n) & is_prime(n+2)))

And then i run generator.next() for example twice. How can i reinitialize/rest this generator so that when i run generator.next() again i get the first element?

If it is possible, i would thank you a lot if you can link the documentation file with the info, because i have searching for it so long and I didn't find anything.

Thanks ;)

P.D. Maybe my english is not good enought and i misspelled some words. Sorry about that.