Source: wikibot/hafnian
= Hafnian
{wiki=Hafnian}
The Hafnian is a mathematical function related to the theory of matrices and combinatorial structures. Specifically, it can be viewed as a generalization of the permanent of a matrix. For a given \\( n \\times n \\) matrix \\( A = \[a_\{ij\}\] \\), the hafnian is defined only for matrices of even order, \\( n = 2k \\).