diff options
Diffstat (limited to 'lib/Numeric/LinearAlgebra/Algorithms.hs')
-rw-r--r-- | lib/Numeric/LinearAlgebra/Algorithms.hs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/Numeric/LinearAlgebra/Algorithms.hs b/lib/Numeric/LinearAlgebra/Algorithms.hs index 55398e0..e058490 100644 --- a/lib/Numeric/LinearAlgebra/Algorithms.hs +++ b/lib/Numeric/LinearAlgebra/Algorithms.hs | |||
@@ -22,7 +22,7 @@ module Numeric.LinearAlgebra.Algorithms ( | |||
22 | -- * Supported types | 22 | -- * Supported types |
23 | Field(), | 23 | Field(), |
24 | -- * Products | 24 | -- * Products |
25 | multiply, dot, | 25 | multiply, -- dot, moved dot to typeclass |
26 | outer, kronecker, | 26 | outer, kronecker, |
27 | -- * Linear Systems | 27 | -- * Linear Systems |
28 | linearSolve, | 28 | linearSolve, |
@@ -707,12 +707,13 @@ luFact (l_u,perm) | r <= c = (l ,u ,p, s) | |||
707 | 707 | ||
708 | -------------------------------------------------- | 708 | -------------------------------------------------- |
709 | 709 | ||
710 | {- moved to Numeric.LinearAlgebra.Interface Vector typeclass | ||
710 | -- | Euclidean inner product. | 711 | -- | Euclidean inner product. |
711 | dot :: (Field t) => Vector t -> Vector t -> t | 712 | dot :: (Field t) => Vector t -> Vector t -> t |
712 | dot u v = multiply r c @@> (0,0) | 713 | dot u v = multiply r c @@> (0,0) |
713 | where r = asRow u | 714 | where r = asRow u |
714 | c = asColumn v | 715 | c = asColumn v |
715 | 716 | -} | |
716 | 717 | ||
717 | {- | Outer product of two vectors. | 718 | {- | Outer product of two vectors. |
718 | 719 | ||