summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--INSTALL.md11
-rw-r--r--README.md18
-rw-r--r--packages/base/CHANGELOG7
-rw-r--r--packages/gsl/CHANGELOG3
-rw-r--r--packages/sundials/ChangeLog.md6
-rw-r--r--packages/sundials/README.md22
6 files changed, 39 insertions, 28 deletions
diff --git a/INSTALL.md b/INSTALL.md
index 9f5761f..99ddc38 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -1,6 +1,15 @@
1# hmatrix installation 1# hmatrix installation
2 2
3This package requires [GHC 7.8](http://www.haskell.org/ghc), [cabal-install](http://www.haskell.org/haskellwiki/Cabal-Install) (available in the [Haskell Platform](http://hackage.haskell.org/platform)), and the development packages for BLAS/[LAPACK](http://www.netlib.org/lapack) and [GSL](http://www.gnu.org/software/gsl). 3*WARNING*: these instructions are now very out of date. However, there
4is a CI script which shows what does work; you are advised to look at
5that and emulate its installation steps.
6
7This package requires [GHC 7.8](http://www.haskell.org/ghc),
8[cabal-install](http://www.haskell.org/haskellwiki/Cabal-Install)
9(available in the [Haskell
10Platform](http://hackage.haskell.org/platform)), and the development
11packages for BLAS/[LAPACK](http://www.netlib.org/lapack) and
12[GSL](http://www.gnu.org/software/gsl).
4 13
5## Linux ################################################## 14## Linux ##################################################
6 15
diff --git a/README.md b/README.md
index cdbcf85..de7f523 100644
--- a/README.md
+++ b/README.md
@@ -1,11 +1,22 @@
1A Haskell library for numerical computation 1A Haskell library for numerical computation
2------------------------------------------- 2-------------------------------------------
3 3
4A purely functional interface to linear algebra and other numerical algorithms, internally implemented using [LAPACK][lapack], [BLAS][blas], and [GSL][gsl]. 4A purely functional interface to linear algebra and other numerical
5algorithms, internally implemented using [LAPACK][lapack],
6[BLAS][blas], [GSL][gsl] and [SUNDIALS][sundials].
5 7
6This package includes matrix decompositions (eigensystems, singular values, Cholesky, QR, etc.), linear solvers, numeric integration, root finding, etc. 8This package includes matrix decompositions (eigensystems, singular
9values, Cholesky, QR, etc.), linear solvers, numeric integration, root
10finding, etc.
7 11
8- [What's new][changes] in version 0.17 (July 2015) 12- [What's new][changes] in version 0.19 (April 2018). This is not
13 intended to be a breaking change but a lot of modules have been
14 modified to ensure that continuous integration is green.
15
16- Support for SUNDIALS has been added. It should be possible to
17 replace Numeric.GSL.ODE with Numeric.Sundials.ARKode.ODE and have
18 your program work as before bearing in mind that the methods and
19 error control might differ (even for those with the same names!).
9 20
10- [Code examples][examples] 21- [Code examples][examples]
11 22
@@ -26,6 +37,7 @@ Contributions, suggestions, and bug reports are welcome!
26[lapack]: http://www.netlib.org/lapack/ 37[lapack]: http://www.netlib.org/lapack/
27[blas]: http://www.netlib.org/blas/ 38[blas]: http://www.netlib.org/blas/
28[gsl]: http://www.gnu.org/software/gsl/ 39[gsl]: http://www.gnu.org/software/gsl/
40[sundials]: https://computation.llnl.gov/projects/sundials
29 41
30[tutorial]: http://dis.um.es/profesores/alberto/material/hmatrix.pdf 42[tutorial]: http://dis.um.es/profesores/alberto/material/hmatrix.pdf
31[installation]: https://github.com/AlbertoRuiz/hmatrix/blob/master/INSTALL.md 43[installation]: https://github.com/AlbertoRuiz/hmatrix/blob/master/INSTALL.md
diff --git a/packages/base/CHANGELOG b/packages/base/CHANGELOG
index 11a57dd..fd1c171 100644
--- a/packages/base/CHANGELOG
+++ b/packages/base/CHANGELOG
@@ -2,15 +2,15 @@
2-------- 2--------
3 3
4 * Many new functions and instances in the Static module 4 * Many new functions and instances in the Static module
5 5
6 * meanCov and gaussianSample use Herm type 6 * meanCov and gaussianSample use Herm type
7 7
8 * thinQR, thinRQ 8 * thinQR, thinRQ
9 9
10 * compactSVDTol 10 * compactSVDTol
11 11
12 * unitary changed to normalize, also admits Vector (Complex Double) 12 * unitary changed to normalize, also admits Vector (Complex Double)
13 13
140.17.0.0 140.17.0.0
15-------- 15--------
16 16
@@ -288,4 +288,3 @@
288 * added NFData instances for Matrix and Vector. 288 * added NFData instances for Matrix and Vector.
289 289
290 * liftVector, liftVector2 replaced by mapVector, zipVector. 290 * liftVector, liftVector2 replaced by mapVector, zipVector.
291
diff --git a/packages/gsl/CHANGELOG b/packages/gsl/CHANGELOG
index 091dc0e..a2fe038 100644
--- a/packages/gsl/CHANGELOG
+++ b/packages/gsl/CHANGELOG
@@ -2,7 +2,7 @@
2-------- 2--------
3 3
4 * Added interpolation modules 4 * Added interpolation modules
5 5
6 * Added simulated annealing module 6 * Added simulated annealing module
7 7
8 * Added odeSolveVWith 8 * Added odeSolveVWith
@@ -11,4 +11,3 @@
11-------- 11--------
12 12
13 * The modules Numeric.GSL.* have been moved from hmatrix to the new package hmatrix-gsl. 13 * The modules Numeric.GSL.* have been moved from hmatrix to the new package hmatrix-gsl.
14
diff --git a/packages/sundials/ChangeLog.md b/packages/sundials/ChangeLog.md
index e95dc4e..7b15777 100644
--- a/packages/sundials/ChangeLog.md
+++ b/packages/sundials/ChangeLog.md
@@ -1,5 +1,5 @@
1# Revision history for sundials 1# Revision history for hmatrix-sundials
2 2
3## 0.1.0.0 -- YYYY-mm-dd 3## 0.1.0.0 -- 2018-04-21
4 4
5* First version. Released on an unsuspecting world. 5* First version. Released on an unsuspecting world. Just Runge-Kutta methods to start with.
diff --git a/packages/sundials/README.md b/packages/sundials/README.md
index 400b36f..2fac5c2 100644
--- a/packages/sundials/README.md
+++ b/packages/sundials/README.md
@@ -1,16 +1,8 @@
1I think this builds the executable. I haven't tried cleaning 1Currently only an interface to the Runge-Kutta methods:
2everything yet to double check. 2[ARKode](https://computation.llnl.gov/projects/sundials/arkode)
3 3
4``` 4The interface is almost certainly going to change. Sundials gives a
5cabal install 5rich set of "combinators" for controlling the solution of your problem
6cd src 6and reporting on how it performed. The idea is to initially mimic
7/nix/store/qrwfai93qhdaj5d4xd34n9bq58slzfxw-gcc-wrapper-6.4.0/bin/gcc -c helpers.c -I/nix/store/dr0yrlmscybjs5ifzw1m063g6xgw5imq-ghc-8.2.2-with-packages/lib/ghc-8.2.2/include 7hmatrix-gsl and add extra, richer functions but ultimately upgrade the
8cd .. 8whole interface both for sundials and for gsl.
9ghc src/Main.hs src/helpers.o -lsundials_arkode -o Main
10```
11
12To run you will (on MACos) also need
13
14```
15export DYLD_LIBRARY_PATH=~/.cabal/bin:/nix/store/dr0yrlmscybjs5ifzw1m063g6xgw5imq-ghc-8.2.2-with-packages/lib/ghc-8.2.2/rts
16``` \ No newline at end of file