Construct Matrix with given Permanent
|
01-05-2024, 09:19 PM
Post: #5
|
|||
|
|||
RE: Construct Matrix with given Permanent
(01-04-2024 01:01 PM)J-F Garnier Wrote: If you look closely at my solution, you will see that I sorted the array rows by the number of 1 in each row, not by the value of the binary representation: If we sort columns the same way, then move red row to top, we have "standard form" But, we don't need actual sorting. Columns zeros count can be used to locate where red cells are, if sorted. > r := [0,1,0,1,1,1,1,1,1,1,0,1]; /* red row */ > z := [4,10,0,2,6,9,7,5,8,0,3,1]; /* column zeroes count, without red row */ > r * 2^z /* permanent(m), note: * is dot product */ 2023 |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
Construct Matrix with given Permanent - Albert Chan - 01-03-2024, 05:53 PM
RE: Construct Matrix with given Permanent - Albert Chan - 01-03-2024, 06:06 PM
RE: Construct Matrix with given Permanent - Maximilian Hohmann - 01-03-2024, 06:17 PM
RE: Construct Matrix with given Permanent - Albert Chan - 01-03-2024, 11:55 PM
RE: Construct Matrix with given Permanent - Albert Chan - 01-05-2024 09:19 PM
RE: Construct Matrix with given Permanent - Albert Chan - 01-07-2024, 04:09 PM
|
User(s) browsing this thread: 3 Guest(s)