summaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2015-06-05 16:36:08 +0200
committerAlberto Ruiz <aruiz@um.es>2015-06-05 16:36:08 +0200
commit379f6a9855a36979c0670a3f89b6c7202836369c (patch)
tree0447a77cbc32fab7193b89f758e33ef4b7ed77c1 /packages
parent2876998f04380c9e835c6177b440447368dfe623 (diff)
move cg
Diffstat (limited to 'packages')
-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)