diff options
Diffstat (limited to 'lib/Data')
-rw-r--r-- | lib/Data/Packed/Internal/Matrix.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Data/Packed/Internal/Matrix.hs b/lib/Data/Packed/Internal/Matrix.hs index 8bca510..951cec6 100644 --- a/lib/Data/Packed/Internal/Matrix.hs +++ b/lib/Data/Packed/Internal/Matrix.hs | |||
@@ -172,7 +172,7 @@ compat m1 m2 = rows m1 == rows m2 && cols m1 == cols m2 | |||
172 | ---------------------------------------------------------------- | 172 | ---------------------------------------------------------------- |
173 | 173 | ||
174 | -- | Optimized matrix computations are provided for elements in the Field class. | 174 | -- | Optimized matrix computations are provided for elements in the Field class. |
175 | class (Storable a, Num a) => Field a where | 175 | class (Storable a, Floating a) => Field a where |
176 | constantD :: a -> Int -> Vector a | 176 | constantD :: a -> Int -> Vector a |
177 | transdata :: Int -> Vector a -> Int -> Vector a | 177 | transdata :: Int -> Vector a -> Int -> Vector a |
178 | multiplyD :: Matrix a -> Matrix a -> Matrix a | 178 | multiplyD :: Matrix a -> Matrix a -> Matrix a |