summaryrefslogtreecommitdiff
path: root/packages/base
diff options
context:
space:
mode:
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{- |
11Module : Numeric.LinearAlgebra.Util 11Module : Internal.Util
12Copyright : (c) Alberto Ruiz 2013 12Copyright : (c) Alberto Ruiz 2013
13License : BSD3 13License : BSD3
14Maintainer : Alberto Ruiz 14Maintainer : Alberto Ruiz
@@ -17,7 +17,7 @@ Stability : provisional
17-} 17-}
18----------------------------------------------------------------------------- 18-----------------------------------------------------------------------------
19 19
20module Numeric.LinearAlgebra.Util( 20module 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
59import Data.Packed.Numeric 59import Internal.Tools
60import Numeric.LinearAlgebra.Algorithms hiding (i,Normed) 60import Internal.Vector
61--import qualified Numeric.LinearAlgebra.Algorithms as A 61import Internal.Matrix hiding (size)
62import Internal.Numeric
63import Internal.Element
64import Internal.Container
65import Internal.Vectorized
66import Internal.IO
67import Internal.Algorithms hiding (i,Normed)
62import Numeric.Matrix() 68import Numeric.Matrix()
63import Numeric.Vector() 69import Numeric.Vector()
64import Numeric.LinearAlgebra.Random 70import Internal.Random
65import Numeric.LinearAlgebra.Util.Convolution 71import Internal.Convolution
66import Control.Monad(when) 72import Control.Monad(when)
67import Text.Printf 73import Text.Printf
68import Data.List.Split(splitOn) 74import Data.List.Split(splitOn)
69import Data.List(intercalate,sortBy) 75import Data.List(intercalate,sortBy)
70import Data.Function(on) 76import Data.Function(on)
71import Control.Arrow((&&&)) 77import Control.Arrow((&&&))
78import Data.Complex
79import Data.Vector.Storable(fromList)
72 80
73type ℝ = Double 81type ℝ = Double
74type ℕ = Int 82type ℕ = Int