diff options
author | Alberto Ruiz <aruiz@um.es> | 2014-05-01 22:47:02 +0200 |
---|---|---|
committer | Alberto Ruiz <aruiz@um.es> | 2014-05-01 22:47:02 +0200 |
commit | e168d61eb429aa1de2d68075a4b89a8522e44038 (patch) | |
tree | 0abe0286f723b8ee27828c931102e3b9259f0a7a /lib/Numeric/LinearAlgebra/Data | |
parent | cf1379fed234cf99b2ccce6d9311bfc5c58ef4a3 (diff) |
top reexport module
Diffstat (limited to 'lib/Numeric/LinearAlgebra/Data')
-rw-r--r-- | lib/Numeric/LinearAlgebra/Data/Devel.hs | 63 |
1 files changed, 0 insertions, 63 deletions
diff --git a/lib/Numeric/LinearAlgebra/Data/Devel.hs b/lib/Numeric/LinearAlgebra/Data/Devel.hs deleted file mode 100644 index 88c980c..0000000 --- a/lib/Numeric/LinearAlgebra/Data/Devel.hs +++ /dev/null | |||
@@ -1,63 +0,0 @@ | |||
1 | -------------------------------------------------------------------------------- | ||
2 | {- | | ||
3 | Module : Numeric.LinearAlgebra.Data.Devel | ||
4 | Copyright : (c) Alberto Ruiz 2014 | ||
5 | License : GPL | ||
6 | |||
7 | Maintainer : Alberto Ruiz | ||
8 | Stability : provisional | ||
9 | |||
10 | The library can be easily extended using the tools in this module. | ||
11 | |||
12 | -} | ||
13 | -------------------------------------------------------------------------------- | ||
14 | |||
15 | module Numeric.LinearAlgebra.Data.Devel( | ||
16 | -- * FFI helpers | ||
17 | -- | Sample usage, to upload a perspective matrix to a shader. | ||
18 | -- | ||
19 | -- @ glUniformMatrix4fv 0 1 (fromIntegral gl_TRUE) \`appMatrix\` perspective 0.01 100 (pi\/2) (4\/3) | ||
20 | -- @ | ||
21 | module Data.Packed.Foreign, | ||
22 | |||
23 | -- * FFI tools | ||
24 | -- | Illustrative usage examples can be found | ||
25 | -- in the @examples\/devel@ folder included in the package. | ||
26 | module Data.Packed.Development, | ||
27 | |||
28 | -- * ST | ||
29 | -- | In-place manipulation inside the ST monad. | ||
30 | -- See examples\/inplace.hs in the distribution. | ||
31 | |||
32 | -- ** Mutable Vectors | ||
33 | STVector, newVector, thawVector, freezeVector, runSTVector, | ||
34 | readVector, writeVector, modifyVector, liftSTVector, | ||
35 | -- ** Mutable Matrices | ||
36 | STMatrix, newMatrix, thawMatrix, freezeMatrix, runSTMatrix, | ||
37 | readMatrix, writeMatrix, modifyMatrix, liftSTMatrix, | ||
38 | -- ** Unsafe functions | ||
39 | newUndefinedVector, | ||
40 | unsafeReadVector, unsafeWriteVector, | ||
41 | unsafeThawVector, unsafeFreezeVector, | ||
42 | newUndefinedMatrix, | ||
43 | unsafeReadMatrix, unsafeWriteMatrix, | ||
44 | unsafeThawMatrix, unsafeFreezeMatrix, | ||
45 | |||
46 | -- * Special maps and zips | ||
47 | mapVectorWithIndex, zipVector, zipVectorWith, unzipVector, unzipVectorWith, | ||
48 | mapVectorM, mapVectorM_, mapVectorWithIndexM, mapVectorWithIndexM_, | ||
49 | foldLoop, foldVector, foldVectorG, foldVectorWithIndex, | ||
50 | mapMatrixWithIndex, mapMatrixWithIndexM, mapMatrixWithIndexM_, | ||
51 | liftMatrix, liftMatrix2, liftMatrix2Auto, | ||
52 | |||
53 | -- * Misc | ||
54 | Element, Container, Product, Contraction, LSDiv | ||
55 | ) where | ||
56 | |||
57 | import Data.Packed.Foreign | ||
58 | import Data.Packed.Development | ||
59 | import Data.Packed.ST | ||
60 | import Numeric.Container(Container,Contraction,LSDiv,Product) | ||
61 | import Data.Packed | ||
62 | |||
63 | |||