summaryrefslogtreecommitdiff
path: root/lib/Data
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Data')
-rw-r--r--lib/Data/Packed/Internal/Matrix.hs8
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
257foreign import ccall unsafe "auxi.h transR" ctransR :: TMM 257foreign import ccall "auxi.h transR" ctransR :: TMM
258foreign import ccall unsafe "auxi.h transC" ctransC :: TCMCM 258foreign 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
277multiplyR = multiplyAux cmultiplyR 277multiplyR = multiplyAux cmultiplyR
278foreign import ccall unsafe "auxi.h multiplyR" cmultiplyR :: TauxMul Double 278foreign import ccall "auxi.h multiplyR" cmultiplyR :: TauxMul Double
279 279
280multiplyC = multiplyAux cmultiplyC 280multiplyC = multiplyAux cmultiplyC
281foreign import ccall unsafe "auxi.h multiplyC" cmultiplyC :: TauxMul (Complex Double) 281foreign import ccall "auxi.h multiplyC" cmultiplyC :: TauxMul (Complex Double)
282 282
283-- | matrix product 283-- | matrix product
284multiply :: (Element a) => Matrix a -> Matrix a -> Matrix a 284multiply :: (Element a) => Matrix a -> Matrix a -> Matrix a