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