2017-07-20 04:34:08 +0200 | received badge | ● Popular Question (source) |
2014-06-29 18:53:39 +0200 | received badge | ● Notable Question (source) |
2014-06-29 18:53:39 +0200 | received badge | ● Famous Question (source) |
2014-06-13 14:07:45 +0200 | received badge | ● Popular Question (source) |
2014-04-11 08:19:54 +0200 | received badge | ● Student (source) |
2013-10-02 01:50:58 +0200 | commented answer | Using `SimplicalComplex` on a set of sets Interesting. I am using the online sage notebook at http://www.sagenb.org/ and sets of sets do not work for me. I get the error `TypeError: unhashable type: 'set'` when I try the second option you describe above. And for the other two the simplical complexes I get are incorrect. |
2013-09-29 22:12:02 +0200 | asked a question | Using `SimplicalComplex` on a set of sets Say I have something like this: So I have a list of sets consisting of subsets of $1,2,...,n\space$ (in general the lists I am interested in are longer). I get these by using Now the See here for more info on finite simplical complexes in sage. My question is: what is the best way to go from my set of sets to a list of lists? More generally what is the best way to deal the fact that most enumerative combinatorics I can do in sage gives me sets but for |
2013-09-19 15:39:12 +0200 | marked best answer | Out of memory while enumerating vectors In your code, by just replacing By the way, if all prescribed values are the same, you can also do: |
2013-09-11 14:24:35 +0200 | marked best answer | Fastest way of running sage? Hi, (This was just going to be a comment but it got too long)
Hope it helps! Updated to include running time at cloud.sagemath.org |
2013-09-11 14:24:35 +0200 | received badge | ● Scholar (source) |
2013-09-09 18:42:56 +0200 | asked a question | Out of memory while enumerating vectors I am trying to enumerate all vectors of a certain dimension with entries less then some prescribed values and then check some conditions on each of them. This is the code I was thinking about:
The problem is that when the product of my ranges is larger than $10^7$ or so I get a Is there a more efficient way of enumerating vectors or avoiding the Thank you. |
2013-09-09 18:28:44 +0200 | commented answer | Fastest way of running sage? Thanks you, this is really helpful! |
2013-09-09 18:28:08 +0200 | received badge | ● Supporter (source) |
2013-09-08 18:28:34 +0200 | asked a question | Fastest way of running sage? Hi, So far I have used 3 different "versions" of sage:
Using "time a = factorial(1000000)" I get cpu and wall times of(.41s, .41s) for 1 and 2,13s; 9.53s) for 2. For 3 "time" apparently does not work but it seems slower than 1. Questions: Why is 1 significantly faster than 2? How can I test 3? Is there a way to test entire programs that gives the time for every step. What is the fastest way to run sage? Thanks! |