HaskellForMaths-0.3.2: Combinatorics, group theory, commutative algebra, non-commutative algebra

Math.Combinatorics.LatinSquares

Synopsis

Documentation

findLatinSqs :: Eq a => [a] -> [[[a]]]Source

isLatinSq :: Ord a => [[a]] -> BoolSource

isOrthogonal :: (Ord a, Ord b) => [[a]] -> [[b]] -> BoolSource

Are the two latin squares orthogonal?

isMOLS :: Ord a => [[[a]]] -> BoolSource

Are the latin squares mutually orthogonal (ie each pair is orthogonal)?

fromProjectivePlane :: (Ord k, Num k) => Design [k] -> [[[Int]]]Source

MOLS from a projective plane