diff options
Diffstat (limited to 'packages/base')
-rw-r--r-- | packages/base/src/Internal/Util.hs (renamed from packages/base/src/Numeric/LinearAlgebra/Util.hs) | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/packages/base/src/Numeric/LinearAlgebra/Util.hs b/packages/base/src/Internal/Util.hs index 37cdc0f..9900770 100644 --- a/packages/base/src/Numeric/LinearAlgebra/Util.hs +++ b/packages/base/src/Internal/Util.hs | |||
@@ -8,7 +8,7 @@ | |||
8 | 8 | ||
9 | ----------------------------------------------------------------------------- | 9 | ----------------------------------------------------------------------------- |
10 | {- | | 10 | {- | |
11 | Module : Numeric.LinearAlgebra.Util | 11 | Module : Internal.Util |
12 | Copyright : (c) Alberto Ruiz 2013 | 12 | Copyright : (c) Alberto Ruiz 2013 |
13 | License : BSD3 | 13 | License : BSD3 |
14 | Maintainer : Alberto Ruiz | 14 | Maintainer : Alberto Ruiz |
@@ -17,7 +17,7 @@ Stability : provisional | |||
17 | -} | 17 | -} |
18 | ----------------------------------------------------------------------------- | 18 | ----------------------------------------------------------------------------- |
19 | 19 | ||
20 | module Numeric.LinearAlgebra.Util( | 20 | module Internal.Util( |
21 | 21 | ||
22 | -- * Convenience functions | 22 | -- * Convenience functions |
23 | vector, matrix, | 23 | vector, matrix, |
@@ -56,19 +56,27 @@ module Numeric.LinearAlgebra.Util( | |||
56 | gaussElim | 56 | gaussElim |
57 | ) where | 57 | ) where |
58 | 58 | ||
59 | import Data.Packed.Numeric | 59 | import Internal.Tools |
60 | import Numeric.LinearAlgebra.Algorithms hiding (i,Normed) | 60 | import Internal.Vector |
61 | --import qualified Numeric.LinearAlgebra.Algorithms as A | 61 | import Internal.Matrix hiding (size) |
62 | import Internal.Numeric | ||
63 | import Internal.Element | ||
64 | import Internal.Container | ||
65 | import Internal.Vectorized | ||
66 | import Internal.IO | ||
67 | import Internal.Algorithms hiding (i,Normed) | ||
62 | import Numeric.Matrix() | 68 | import Numeric.Matrix() |
63 | import Numeric.Vector() | 69 | import Numeric.Vector() |
64 | import Numeric.LinearAlgebra.Random | 70 | import Internal.Random |
65 | import Numeric.LinearAlgebra.Util.Convolution | 71 | import Internal.Convolution |
66 | import Control.Monad(when) | 72 | import Control.Monad(when) |
67 | import Text.Printf | 73 | import Text.Printf |
68 | import Data.List.Split(splitOn) | 74 | import Data.List.Split(splitOn) |
69 | import Data.List(intercalate,sortBy) | 75 | import Data.List(intercalate,sortBy) |
70 | import Data.Function(on) | 76 | import Data.Function(on) |
71 | import Control.Arrow((&&&)) | 77 | import Control.Arrow((&&&)) |
78 | import Data.Complex | ||
79 | import Data.Vector.Storable(fromList) | ||
72 | 80 | ||
73 | type ℝ = Double | 81 | type ℝ = Double |
74 | type ℕ = Int | 82 | type ℕ = Int |