summaryrefslogtreecommitdiff
path: root/packages/base/src/Numeric/LinearAlgebra
diff options
context:
space:
mode:
Diffstat (limited to 'packages/base/src/Numeric/LinearAlgebra')
-rw-r--r--packages/base/src/Numeric/LinearAlgebra/Data.hs3
-rw-r--r--packages/base/src/Numeric/LinearAlgebra/Devel.hs7
-rw-r--r--packages/base/src/Numeric/LinearAlgebra/HMatrix.hs4
-rw-r--r--packages/base/src/Numeric/LinearAlgebra/Static.hs6
4 files changed, 7 insertions, 13 deletions
diff --git a/packages/base/src/Numeric/LinearAlgebra/Data.hs b/packages/base/src/Numeric/LinearAlgebra/Data.hs
index 1c9bb68..fffc2bd 100644
--- a/packages/base/src/Numeric/LinearAlgebra/Data.hs
+++ b/packages/base/src/Numeric/LinearAlgebra/Data.hs
@@ -53,8 +53,7 @@ module Numeric.LinearAlgebra.Data(
53 53
54 -- * Matrix extraction 54 -- * Matrix extraction
55 Extractor(..), (??), 55 Extractor(..), (??),
56 takeRows, takeLastRows, dropRows, dropLastRows, 56 takeRows, dropRows, takeColumns, dropColumns,
57 takeColumns, takeLastColumns, dropColumns, dropLastColumns,
58 subMatrix, (?), (¿), fliprl, flipud, remap, 57 subMatrix, (?), (¿), fliprl, flipud, remap,
59 58
60 -- * Block matrix 59 -- * Block matrix
diff --git a/packages/base/src/Numeric/LinearAlgebra/Devel.hs b/packages/base/src/Numeric/LinearAlgebra/Devel.hs
index f572656..36c5f03 100644
--- a/packages/base/src/Numeric/LinearAlgebra/Devel.hs
+++ b/packages/base/src/Numeric/LinearAlgebra/Devel.hs
@@ -20,8 +20,7 @@ module Numeric.LinearAlgebra.Devel(
20 module Internal.Foreign, 20 module Internal.Foreign,
21 21
22 -- * FFI tools 22 -- * FFI tools
23 -- | Illustrative usage examples can be found 23 -- | See @examples/devel@ in the repository.
24 -- in the @examples\/devel@ folder included in the package.
25 24
26 createVector, createMatrix, 25 createVector, createMatrix,
27 vec, mat, omat, 26 vec, mat, omat,
@@ -36,7 +35,7 @@ module Numeric.LinearAlgebra.Devel(
36 35
37 -- * ST 36 -- * ST
38 -- | In-place manipulation inside the ST monad. 37 -- | In-place manipulation inside the ST monad.
39 -- See examples\/inplace.hs in the distribution. 38 -- See @examples/inplace.hs@ in the repository.
40 39
41 -- ** Mutable Vectors 40 -- ** Mutable Vectors
42 STVector, newVector, thawVector, freezeVector, runSTVector, 41 STVector, newVector, thawVector, freezeVector, runSTVector,
@@ -44,7 +43,7 @@ module Numeric.LinearAlgebra.Devel(
44 -- ** Mutable Matrices 43 -- ** Mutable Matrices
45 STMatrix, newMatrix, thawMatrix, freezeMatrix, runSTMatrix, 44 STMatrix, newMatrix, thawMatrix, freezeMatrix, runSTMatrix,
46 readMatrix, writeMatrix, modifyMatrix, liftSTMatrix, 45 readMatrix, writeMatrix, modifyMatrix, liftSTMatrix,
47 axpy,scal,swap, extractMatrix, setMatrix, mutable, rowOpST, 46 mutable, extractMatrix, setMatrix, rowOper, RowOper(..), RowRange(..), ColRange(..),
48 -- ** Unsafe functions 47 -- ** Unsafe functions
49 newUndefinedVector, 48 newUndefinedVector,
50 unsafeReadVector, unsafeWriteVector, 49 unsafeReadVector, unsafeWriteVector,
diff --git a/packages/base/src/Numeric/LinearAlgebra/HMatrix.hs b/packages/base/src/Numeric/LinearAlgebra/HMatrix.hs
index 327f284..11c2487 100644
--- a/packages/base/src/Numeric/LinearAlgebra/HMatrix.hs
+++ b/packages/base/src/Numeric/LinearAlgebra/HMatrix.hs
@@ -13,10 +13,10 @@ compatibility with previous version, to be removed
13 13
14module Numeric.LinearAlgebra.HMatrix ( 14module Numeric.LinearAlgebra.HMatrix (
15 module Numeric.LinearAlgebra, 15 module Numeric.LinearAlgebra,
16 (¦),(——) 16 (¦),(——),ℝ,ℂ,
17) where 17) where
18 18
19import Numeric.LinearAlgebra 19import Numeric.LinearAlgebra
20import Internal.Util 20import Internal.Util
21 21
22 22
diff --git a/packages/base/src/Numeric/LinearAlgebra/Static.hs b/packages/base/src/Numeric/LinearAlgebra/Static.hs
index dee5b2c..a657bd0 100644
--- a/packages/base/src/Numeric/LinearAlgebra/Static.hs
+++ b/packages/base/src/Numeric/LinearAlgebra/Static.hs
@@ -28,7 +28,7 @@ This module is under active development and the interface is subject to changes.
28 28
29module Numeric.LinearAlgebra.Static( 29module Numeric.LinearAlgebra.Static(
30 -- * Vector 30 -- * Vector
31 ℝ, R, 31 ℝ, R,
32 vec2, vec3, vec4, (&), (#), split, headTail, 32 vec2, vec3, vec4, (&), (#), split, headTail,
33 vector, 33 vector,
34 linspace, range, dim, 34 linspace, range, dim,
@@ -71,10 +71,6 @@ import Data.Proxy(Proxy)
71import Internal.Static 71import Internal.Static
72import Control.Arrow((***)) 72import Control.Arrow((***))
73 73
74
75
76
77
78ud1 :: R n -> Vector ℝ 74ud1 :: R n -> Vector ℝ
79ud1 (R (Dim v)) = v 75ud1 (R (Dim v)) = v
80 76