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.hs | |
parent | cf1379fed234cf99b2ccce6d9311bfc5c58ef4a3 (diff) |
top reexport module
Diffstat (limited to 'lib/Numeric/LinearAlgebra/Data.hs')
-rw-r--r-- | lib/Numeric/LinearAlgebra/Data.hs | 97 |
1 files changed, 0 insertions, 97 deletions
diff --git a/lib/Numeric/LinearAlgebra/Data.hs b/lib/Numeric/LinearAlgebra/Data.hs deleted file mode 100644 index a3639d5..0000000 --- a/lib/Numeric/LinearAlgebra/Data.hs +++ /dev/null | |||
@@ -1,97 +0,0 @@ | |||
1 | -------------------------------------------------------------------------------- | ||
2 | {- | | ||
3 | Module : Numeric.LinearAlgebra.Data | ||
4 | Copyright : (c) Alberto Ruiz 2014 | ||
5 | License : GPL | ||
6 | |||
7 | Maintainer : Alberto Ruiz | ||
8 | Stability : provisional | ||
9 | |||
10 | -} | ||
11 | -------------------------------------------------------------------------------- | ||
12 | |||
13 | module Numeric.LinearAlgebra.Data( | ||
14 | -- * Vector | ||
15 | -- | 1D arrays are storable vectors from the vector package. | ||
16 | |||
17 | Vector, (|>), dim, (@>), | ||
18 | |||
19 | -- * Matrix | ||
20 | Matrix, (><), size, (@@>), trans, ctrans, | ||
21 | |||
22 | -- * Construction functions | ||
23 | |||
24 | scalar, konst, build, assoc, accum, linspace, -- ones, zeros, | ||
25 | |||
26 | -- * Data manipulation | ||
27 | |||
28 | fromList, toList, subVector, takesV, vjoin, | ||
29 | |||
30 | flatten, reshape, asRow, asColumn, row, col, | ||
31 | |||
32 | fromRows, toRows, fromColumns, toColumns, fromLists, toLists, | ||
33 | |||
34 | takeRows, dropRows, takeColumns, dropColumns, subMatrix, (?), (¿), fliprl, flipud, | ||
35 | |||
36 | -- * Diagonal matrices | ||
37 | |||
38 | ident, diag, diagl, diagRect, takeDiag, | ||
39 | |||
40 | -- * Block matrices | ||
41 | |||
42 | fromBlocks, (¦), (——), diagBlock, repmat, toBlocks, toBlocksEvery, | ||
43 | |||
44 | -- * Mapping functions | ||
45 | |||
46 | conj, cmap, step, cond, | ||
47 | |||
48 | -- * Find elements | ||
49 | |||
50 | find, maxIndex, minIndex, maxElement, minElement, atIndex, | ||
51 | |||
52 | -- * Products | ||
53 | |||
54 | (<>), (·), outer, kronecker, cross, | ||
55 | sumElements, prodElements, absSum, | ||
56 | optimiseMult, | ||
57 | |||
58 | corr, conv, corrMin, corr2, conv2, | ||
59 | |||
60 | (<\>), | ||
61 | |||
62 | -- * Random arrays | ||
63 | |||
64 | rand, randn, RandDist(..), randomVector, gaussianSample, uniformSample, | ||
65 | |||
66 | -- * IO | ||
67 | |||
68 | disp, dispf, disps, dispcf, vecdisp, latexFormat, format, | ||
69 | loadMatrix, saveMatrix, fromFile, fileDimensions, | ||
70 | readMatrix, | ||
71 | fscanfVector, fprintfVector, freadVector, fwriteVector, | ||
72 | |||
73 | -- * Element conversion | ||
74 | Convert(..), | ||
75 | Complexable(), | ||
76 | RealElement(), | ||
77 | |||
78 | RealOf, ComplexOf, SingleOf, DoubleOf, | ||
79 | |||
80 | IndexOf, | ||
81 | |||
82 | module Data.Complex, | ||
83 | |||
84 | -- * Misc | ||
85 | scale, meanCov, arctan2, | ||
86 | rows, cols, | ||
87 | separable, | ||
88 | fromArray2D | ||
89 | |||
90 | ) where | ||
91 | |||
92 | import Data.Packed.Vector | ||
93 | import Data.Packed.Matrix | ||
94 | import Numeric.Container | ||
95 | import Numeric.LinearAlgebra.Util | ||
96 | import Data.Complex | ||
97 | |||