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

Safe HaskellNone
LanguageHaskell98

Math.Combinatorics.LatinSquares

Synopsis

Documentation

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

isLatinSq :: Ord a => [[a]] -> Bool Source #

isOneOfEach :: Ord a => [a] -> Bool Source #

incidenceGraphLS :: Ord c => [[c]] -> Graph (Int, Int, c) Source #

incidenceGraphLS' :: Eq a => [[a]] -> Graph (Int, Int) Source #

isOrthogonal :: (Ord a, Ord b) => [[a]] -> [[b]] -> Bool Source #

Are the two latin squares orthogonal?

findMOLS :: (Num t, Ord a, Eq t) => t -> [[[a]]] -> [[[[a]]]] Source #

isMOLS :: Ord a => [[[a]]] -> Bool Source #

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

isOA :: Ord b => (Int, Int) -> [[b]] -> Bool Source #

fromLS :: Foldable t => t [Int] -> [[Int]] Source #

fromMOLS :: Foldable t => [t [Int]] -> [[Int]] Source #

graphOA :: Ord a => [[a]] -> Graph [a] Source #

srgParamsOA :: Num d => (d, d) -> Maybe (d, d, d, d) Source #