Construct Matrix with given Permanent
|
01-07-2024, 04:09 PM
Post: #6
|
|||
|
|||
RE: Construct Matrix with given Permanent
A follow up of previous post example, to produce recursive formula for permanent(m)
PM to JFG Wrote:Imagine row 8 is all 1's, and we move that to the end Let f(x) = permanent of "standard form" matrix m, with first row bits = x Let n = bit_length of x // leading zeroes ignored f(2^n-1) = 2^(n-1) // explained in quote f(x) = 2^(n-1) - f(2^n-1 - x) // 2nd term argument = flip(x), smaller than x f(x) = x, if x = 0 or 1 // base case (01-03-2024 06:06 PM)Albert Chan Wrote: "First row" bits (if we move 8th row to top) for Permanent f(0b111111001101) = 2^11 - f(0b110010) = 2^11 - 2^5 + f(1101) = 2^11 - 2^5 + 2^3 - f(0b10) = 2^11 - 2^5 + 2^3 - 2^1 + 1 = 2048 - 32 + 8 - 2 + 1 = 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: 2 Guest(s)