AssociationSchemes.perfect_matching module

class AssociationSchemes.perfect_matching.PerfectMatchingScheme(k)[source]

Bases: AssociationScheme

Return the perfect matching association scheme with parameter equal to self.

EXAMPLE:

sage: AS = PerfectMatchingScheme(4)
sage: AS
A 4-class association scheme of order 105
sage: AS.P_matrix()
[ 1 12 12 32 48]
[ 1  2  7 -8 -2]
[ 1 -6  3  8 -6]
[ 1  5 -2  4 -8]
[ 1 -1 -2 -2  4]
parameter()[source]
vertices()[source]