diff options
Diffstat (limited to 'lib/Data')
-rw-r--r-- | lib/Data/Packed/Internal/Matrix.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/Data/Packed/Internal/Matrix.hs b/lib/Data/Packed/Internal/Matrix.hs index 1c58f6e..c6129c6 100644 --- a/lib/Data/Packed/Internal/Matrix.hs +++ b/lib/Data/Packed/Internal/Matrix.hs | |||
@@ -254,8 +254,8 @@ transdataAux fun c1 d c2 = | |||
254 | r2 = dim d `div` c2 | 254 | r2 = dim d `div` c2 |
255 | noneed = r1 == 1 || c1 == 1 | 255 | noneed = r1 == 1 || c1 == 1 |
256 | 256 | ||
257 | foreign import ccall unsafe "auxi.h transR" ctransR :: TMM | 257 | foreign import ccall "auxi.h transR" ctransR :: TMM |
258 | foreign import ccall unsafe "auxi.h transC" ctransC :: TCMCM | 258 | foreign import ccall "auxi.h transC" ctransC :: TCMCM |
259 | 259 | ||
260 | ------------------------------------------------------------------ | 260 | ------------------------------------------------------------------ |
261 | 261 | ||
@@ -275,10 +275,10 @@ multiplyAux fun a b = unsafePerformIO $ do | |||
275 | return r | 275 | return r |
276 | 276 | ||
277 | multiplyR = multiplyAux cmultiplyR | 277 | multiplyR = multiplyAux cmultiplyR |
278 | foreign import ccall unsafe "auxi.h multiplyR" cmultiplyR :: TauxMul Double | 278 | foreign import ccall "auxi.h multiplyR" cmultiplyR :: TauxMul Double |
279 | 279 | ||
280 | multiplyC = multiplyAux cmultiplyC | 280 | multiplyC = multiplyAux cmultiplyC |
281 | foreign import ccall unsafe "auxi.h multiplyC" cmultiplyC :: TauxMul (Complex Double) | 281 | foreign import ccall "auxi.h multiplyC" cmultiplyC :: TauxMul (Complex Double) |
282 | 282 | ||
283 | -- | matrix product | 283 | -- | matrix product |
284 | multiply :: (Element a) => Matrix a -> Matrix a -> Matrix a | 284 | multiply :: (Element a) => Matrix a -> Matrix a -> Matrix a |