Safe Haskell | None |
---|---|

Language | Haskell98 |

- findLatinSqs :: Eq a => [a] -> [[[a]]]
- isLatinSq :: Ord a => [[a]] -> Bool
- isOneOfEach :: Ord a => [a] -> Bool
- incidenceGraphLS :: Ord a => [[a]] -> Graph (Int, Int, a)
- incidenceGraphLS' :: Eq a => [[a]] -> Graph (Int, Int)
- isOrthogonal :: (Ord a, Ord b) => [[a]] -> [[b]] -> Bool
- findMOLS :: (Ord b, Num a, Eq a) => a -> [[[b]]] -> [[[[b]]]]
- isMOLS :: Ord a => [[[a]]] -> Bool
- fromProjectivePlane :: (Ord k, Num k) => Design [k] -> [[[Int]]]
- isOA :: Ord b => (Int, Int) -> [[b]] -> Bool
- fromLS :: [[Int]] -> [[Int]]
- fromMOLS :: [[[Int]]] -> [[Int]]
- graphOA :: Ord b => [[b]] -> Graph [b]
- srgParamsOA :: Num t => (t, t) -> Maybe (t, t, t, t)

# Documentation

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

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

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

Are the two latin squares orthogonal?

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

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

srgParamsOA :: Num t => (t, t) -> Maybe (t, t, t, t) Source