Post Reply 
Happy New Year 2024 ... and 2023's last teaser !
01-03-2024, 12:51 PM (This post was last modified: 01-03-2024 01:23 PM by Ajaja.)
Post: #23
RE: Happy New Year 2024 ... and 2023's last teaser !
There are many rows and columns with zeros. I think, the fastest way to calculate permanent of the matrix is to sort it first, then transpose, sort again and after that use J-F Garnier optimized subprogram. It turns this 12x12 permanent into sum of 8 9x9 permanents if I'm not mistaken.
And result should be the same:
Code:

    |\^/|     Maple 7 (IBM INTEL NT)
._|\|   |/|_. Copyright (c) 2001 by Waterloo Maple Inc.
 \  MAPLE  /  All rights reserved. Maple is a registered trademark of
 <____ ____>  Waterloo Maple Inc.
      |       Type ? for help.
> with(LinearAlgebra):
> Permanent(<
> <0,0,0,0,0,1,1,1,1,1,1,1>|
> <0,0,0,0,1,0,0,0,0,0,0,1>|
> <0,0,0,0,1,0,0,0,0,0,1,1>|
> <0,0,0,0,1,0,0,0,0,1,1,1>|
> <0,0,0,0,1,0,0,0,1,1,1,1>|
> <0,0,0,0,1,0,0,1,1,1,1,1>|
> <0,0,0,0,1,0,1,1,1,1,1,1>|
> <0,0,0,1,0,1,1,1,1,1,1,1>|
> <0,0,1,1,1,1,1,1,1,1,1,1>|
> <0,1,1,1,1,1,1,1,1,1,1,1>|
> <1,1,1,1,0,1,1,1,1,1,1,1>|
> <1,1,1,1,1,1,1,1,1,1,1,1>>);
                                                         2023
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Happy New Year 2024 ... and 2023's last teaser ! - Ajaja - 01-03-2024 12:51 PM



User(s) browsing this thread: 8 Guest(s)