summaryrefslogtreecommitdiff
path: root/packages/hmatrix/src/Numeric/HMatrix/Data.hs
diff options
context:
space:
mode:
authorAlberto Ruiz <aruiz@um.es>2014-05-08 08:48:12 +0200
committerAlberto Ruiz <aruiz@um.es>2014-05-08 08:48:12 +0200
commit1925c123d7d8184a1d2ddc0a413e0fd2776e1083 (patch)
treefad79f909d9c3be53d68e6ebd67202650536d387 /packages/hmatrix/src/Numeric/HMatrix/Data.hs
parenteb3f702d065a4a967bb754977233e6eec408fd1f (diff)
empty hmatrix-base
Diffstat (limited to 'packages/hmatrix/src/Numeric/HMatrix/Data.hs')
-rw-r--r--packages/hmatrix/src/Numeric/HMatrix/Data.hs69
1 files changed, 69 insertions, 0 deletions
diff --git a/packages/hmatrix/src/Numeric/HMatrix/Data.hs b/packages/hmatrix/src/Numeric/HMatrix/Data.hs
new file mode 100644
index 0000000..568dc05
--- /dev/null
+++ b/packages/hmatrix/src/Numeric/HMatrix/Data.hs
@@ -0,0 +1,69 @@
1--------------------------------------------------------------------------------
2{- |
3Module : Numeric.HMatrix.Data
4Copyright : (c) Alberto Ruiz 2014
5License : GPL
6
7Maintainer : Alberto Ruiz
8Stability : provisional
9
10Basic data processing.
11
12-}
13--------------------------------------------------------------------------------
14
15module 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, latexFormat, format,
48 loadMatrix, saveMatrix, fromFile, fileDimensions,
49 readMatrix,
50 fscanfVector, fprintfVector, freadVector, fwriteVector,
51
52-- * Conversion
53 Convert(..),
54
55 -- * Misc
56 arctan2,
57 rows, cols,
58 separable,
59
60 module Data.Complex
61
62) where
63
64import Data.Packed.Vector
65import Data.Packed.Matrix
66import Numeric.Container
67import Numeric.LinearAlgebra.Util
68import Data.Complex
69