I initially didn't think that its necessary to talk about the source of the
lists "rep" and "Edge" and hence I didn't include those in the question.
I thought the question could be answered in the abstract.
But then for me it gives me this "error" message quoted in the first post
for q=2, n=3
On Thu, May 14, 2015 at 4:43 PM, Phoenix wrote:
> The time trouble starts at the point in the code where it doesn't matter
> where the permutation matrices comes from.
>
> What the main part does is basically this.
>
> Given any set of matrices of dimensional k it produces by the "product" and
> "
On 14/05/15 23:04, Anton Sherwood wrote:
> Is it only because I'm old that I see something inelegant about a post
> that re-quotes (without commenting on any but the newest) eight
> generations of quoted matter, including ninety blank lines and four
> copies of "You received this message because"?
Is it only because I'm old that I see something inelegant about a post
that re-quotes (without commenting on any but the newest) eight
generations of quoted matter, including ninety blank lines and four
copies of "You received this message because"?
--
*\\* Anton Sherwood *\\* www.bendwavy.
The time trouble starts at the point in the code where it doesn't matter
where the permutation matrices comes from.
What the main part does is basically this.
Given any set of matrices of dimensional k it produces by the "product" and
"zip" command all possible ways of distributing those mat
On Thursday, 14 May 2015 19:30:35 UTC+1, Dima Pasechnik wrote:
>
>
>
> On Thursday, 14 May 2015 19:20:43 UTC+1, Phoenix wrote:
>>
>>
>> This is how "Edge" is created,
>>
>> g = graphs.CompleteBipartiteGraph(n, n)
>>
>> Edge = []
>> for (a,b,c) in g.edges ():
>> Edge.append ( (a,b) )
>>
>> Th
On Thursday, 14 May 2015 19:20:43 UTC+1, Phoenix wrote:
>
>
> This is how "Edge" is created,
>
> g = graphs.CompleteBipartiteGraph(n, n)
>
> Edge = []
> for (a,b,c) in g.edges ():
> Edge.append ( (a,b) )
>
> This is how "rep" is created,
>
> Fq2 = []
> for i in range (q):
> for j in ran
This is how "Edge" is created,
g = graphs.CompleteBipartiteGraph(n, n)
Edge = []
for (a,b,c) in g.edges ():
Edge.append ( (a,b) )
This is how "rep" is created,
Fq2 = []
for i in range (q):
for j in range (q):
Fq2.append (matrix([[i],[j]]))
SL2Fq = []
for i1 in range (q):
f
On Thu, May 14, 2015 at 1:45 PM, Phoenix wrote:
>
> Try q=2 n=4 or q=3 n=3 to see the "error" :)
>
Perhaps you can post rep and Edge in that case (in a format that can
be copy+pasted), or put them into a file and attach it or upload it
somewhere.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
Try q=2 n=4 or q=3 n=3 to see the "error" :)
On Thursday, May 14, 2015 at 6:10:19 AM UTC-5, David Joyner wrote:
>
> On Thu, May 14, 2015 at 6:59 AM, Dima Pasechnik > wrote:
> > The poster has not provided an example producing the error.
> > One needs to increase q
On Thu, May 14, 2015 at 6:59 AM, Dima Pasechnik wrote:
> The poster has not provided an example producing the error.
> One needs to increase q and/or n, as it is mentioned in the post.
>
I missed that. Is it possible that the error is entirely due to the
way sagecell writes it to a file for execu
The poster has not provided an example producing the error.
One needs to increase q and/or n, as it is mentioned in the post.
On Thursday, 14 May 2015 11:32:30 UTC+1, David Joyner wrote:
>
> On Wed, May 13, 2015 at 9:13 PM, Phoenix > wrote:
> >
> >
> > So I have this SAGE code which takes in
On Wed, May 13, 2015 at 9:13 PM, Phoenix wrote:
>
>
> So I have this SAGE code which takes in two integers q and n and it
> generates ~ (q^3)^(n^2) 0/1 matrices and does a sum of their characteristic
> polynomials.
>
> I got answers for (q = 3, n = 2), (q =2 , n = 3) and (q=2, n=2)
>
> For any hig
On Thursday, 14 May 2015 04:06:16 UTC+1, Phoenix wrote:
>
>
> This is really weird that SAGE output that I copy pasted here can't be
> copy-pasted back into SAGE as an input!
>
no, not at all. It's very typical that the human-readable output (e.g.
think of formulae with indices, inegrals, etc)
On Wednesday, May 13, 2015 at 8:06:16 PM UTC-7, Phoenix wrote:
>
> BTW, just curious : isn't there a way by which you could have just
> randomly generated a set of q^3 permutation matrices each of dimension q^2
> instead of looking for a specific example? Can't SAGE randomly generate one
> such
This is really weird that SAGE output that I copy pasted here can't be
copy-pasted back into SAGE as an input!
So here it is again written differently!
rep = [ matrix ([[1, 0, 0, 0], [0, 0, 0, 1], [0, 1, 0, 0], [0, 0, 1, 0]] ),
matrix ([[1, 0, 0, 0], [0, 0, 0, 1], [0, 0, 1, 0], [0, 1, 0, 0]] )
On Wed, May 13, 2015 at 9:54 PM, Phoenix wrote:
>
>
> For the q=2 , n =2 (the smallest test case) we have,
>
> Edge = [(0, 2), (0, 3), (1, 2), (1, 3)]
>
> rep =
>
> [
> [1 0 0 0] [1 0 0 0] [1 0 0 0] [1 0 0 0] [1 0 0 0] [1 0 0 0]
> [0 0 1 0] [0 0 1 0] [0 1 0 0] [0 1 0 0] [0 0 0 1] [0 0 0
For the q=2 , n =2 (the smallest test case) we have,
Edge = [(0, 2), (0, 3), (1, 2), (1, 3)]
rep =
[
[1 0 0 0] [1 0 0 0] [1 0 0 0] [1 0 0 0] [1 0 0 0] [1 0 0 0]
[0 0 1 0] [0 0 1 0] [0 1 0 0] [0 1 0 0] [0 0 0 1] [0 0 0 1]
[0 1 0 0] [0 0 0 1] [0 0 1 0] [0 0 0 1] [0 0 1 0] [0 1 0
On Wed, May 13, 2015 at 9:43 PM, Phoenix wrote:
>
> I am not sure how to include "rep".
Can you type in a short example of what it could be?
> Its a list generated by a set of operations somewhere else.
> I am generating "Edge" by extracting the edges of the graph K_{n,n}
>
Can you type in a sh
I am not sure how to include "rep".
Its a list generated by a set of operations somewhere else.
I am generating "Edge" by extracting the edges of the graph K_{n,n}
On Wednesday, May 13, 2015 at 8:28:57 PM UTC-5, David Joyner wrote:
>
> On Wed, May 13, 2015 at 9:13 PM, Phoenix > wrote:
> >
On Wed, May 13, 2015 at 9:13 PM, Phoenix wrote:
>
>
> So I have this SAGE code which takes in two integers q and n and it
> generates ~ (q^3)^(n^2) 0/1 matrices and does a sum of their characteristic
> polynomials.
>
> I got answers for (q = 3, n = 2), (q =2 , n = 3) and (q=2, n=2)
>
> For any hig
So I have this SAGE code which takes in two integers q and n and it
generates ~ (q^3)^(n^2) 0/1 matrices and does a sum of their characteristic
polynomials.
I got answers for (q = 3, n = 2), (q =2 , n = 3) and (q=2, n=2)
For any higher number the code runs for ~1hr and then it says,
"
Tr
22 matches
Mail list logo