]> gitweb.michael.orlitzky.com - numerical-analysis.git/blobdiff - src/Linear/Matrix.hs
Move the Vector and Matrix modules under Linear.
[numerical-analysis.git] / src / Linear / Matrix.hs
similarity index 99%
rename from src/Matrix.hs
rename to src/Linear/Matrix.hs
index ae1c5884af20623f27425e10dcd6e8e01e41e823..63c0348cd9e6e0ce676ce5c17c1629890836a6e6 100644 (file)
@@ -4,10 +4,9 @@
 {-# LANGUAGE MultiParamTypeClasses #-}
 {-# LANGUAGE TypeFamilies #-}
 
-module Matrix
+module Linear.Matrix
 where
 
-import Vector
 import Data.Vector.Fixed (
   Dim,
   Vector
@@ -20,6 +19,8 @@ import qualified Data.Vector.Fixed as V (
   )
 import Data.Vector.Fixed.Internal (arity)
 
+import Linear.Vector
+
 type Mat v w a = Vn v (Vn w a)
 type Mat2 a = Mat Vec2D Vec2D a
 type Mat3 a = Mat Vec3D Vec3D a