summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/base/src/Internal/CG.hs (renamed from packages/base/src/Numeric/LinearAlgebra/Util/CG.hs)14
1 files changed, 10 insertions, 4 deletions
diff --git a/packages/base/src/Numeric/LinearAlgebra/Util/CG.hs b/packages/base/src/Internal/CG.hs
index 899a5bf..1193b18 100644
--- a/packages/base/src/Numeric/LinearAlgebra/Util/CG.hs
+++ b/packages/base/src/Internal/CG.hs
@@ -1,16 +1,22 @@
1{-# LANGUAGE FlexibleContexts, FlexibleInstances #-} 1{-# LANGUAGE FlexibleContexts, FlexibleInstances #-}
2{-# LANGUAGE RecordWildCards #-} 2{-# LANGUAGE RecordWildCards #-}
3 3
4module Numeric.LinearAlgebra.Util.CG( 4module Internal.CG(
5 cgSolve, cgSolve', 5 cgSolve, cgSolve',
6 CGState(..), R, V 6 CGState(..), R, V
7) where 7) where
8 8
9import Data.Packed.Numeric 9import Internal.Vector
10import Numeric.Sparse 10import Internal.Matrix hiding (mat)
11import Internal.Numeric
12import Internal.Element
13import Internal.IO
14import Internal.Container
15import Internal.Sparse
11import Numeric.Vector() 16import Numeric.Vector()
12import Numeric.LinearAlgebra.Algorithms(linearSolveLS, relativeError, pnorm, NormType(..)) 17import Internal.Algorithms(linearSolveLS, relativeError, pnorm, NormType(..))
13import Control.Arrow((***)) 18import Control.Arrow((***))
19import Data.Vector.Storable(fromList)
14 20
15{- 21{-
16import Util.Misc(debug, debugMat) 22import Util.Misc(debug, debugMat)