Kronecker product: Difference between revisions
→{{header|Haskell}}
Line 1,612:
kroneckerProduct :: Num a => [[a]] -> [[a]] -> [[a]]
kroneckerProduct xs ys =
>>= fmap concat . transpose
where
|
Line 1,612:
kroneckerProduct :: Num a => [[a]] -> [[a]] -> [[a]]
kroneckerProduct xs ys =
>>= fmap concat . transpose
where
|
edits