Skip to content

Commit

Permalink
👍 add GPR, Owl, and PLplot
Browse files Browse the repository at this point in the history
  • Loading branch information
akabe committed Jun 27, 2017
1 parent edecec7 commit 721129c
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 0 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,12 @@ complex iteration on collections, etc.
- **[L-BFGS](https://github.com/Chris00/L-BFGS-ocaml)** ([API](http://lbfgs.forge.ocamlcore.org/API.docdir/Lbfgs.html)) — A binding to [L-BFGS-B](http://users.iems.northwestern.edu/~nocedal/lbfgsb.html), a quasi-Newton library for bound-constrained optimization.
- **Ocephes** ([GitHub](https://github.com/rleonid/ocephes), [API](https://rleonid.github.io/ocephes/)) — A binding to [Ocephes](http://www.netlib.org/cephes/), a library of special math functions like Binominal, Gaussian, Gamma distributions, incomplete Beta integral.
- **[Oml](http://www.hammerlab.org/2015/08/11/introducing-oml-a-small-ocaml-library-for-numerical-computing/)** ([GitHub](https://github.com/hammerlab/oml), [API](http://www.hammerlab.org/oml/index.html)) — A small library for numerical computing on OCaml.
- **[GPR](https://mmottl.github.io/gpr/)** ([GitHub](https://github.com/mmottl/gpr), [API](http://mmottl.github.io/gpr/api/). [PDF](http://mmottl.github.io/gpr/gpr_manual.pdf)) — Efficient and scalable Gaussian Process Regression in OCaml.
- **Owl** ([GitHub](https://github.com/ryanrhymes/owl), [API](http://www.cl.cam.ac.uk/~lw525/owl/)) — an OCaml numerical library: dense and sparse matrix, linear algebra, regressions, maths and stats functions.

### Visualization

- **PLplot** ([GitHub](https://github.com/hcarty/ocaml-plplot)) — A binding to [PLplot](http://plplot.sf.net/), a library for creating scientific plots.
- **[Archimedes](http://archimedes.forge.ocamlcore.org/)** ([API](http://archimedes.forge.ocamlcore.org/API/Archimedes.html)) — A 2D plot library like matplotlib in Python. You can embed PNG images in Jupyter notebooks.
- [examples/archimedes_iocaml.ipynb](examples/archimedes_iocaml.ipynb)
- **Cairo2** ([GitHub](https://github.com/Chris00/ocaml-cairo), [Tutorial](http://cairo.forge.ocamlcore.org/tutorial/index.html), [API](http://cairo.forge.ocamlcore.org/tutorial/Cairo.html)) — A binding to [Cairo](https://cairographics.org/), a 2D vector graphics library. This library is useful as a backend of Archimedes.
Expand Down
4 changes: 4 additions & 0 deletions dockerfiles/centos7_ocaml4.04.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
fftw-devel \
libsvm-devel \
cairo-devel \
plplot-devel \
MariaDB-devel \
postgresql-devel \
sqlite-devel \
Expand All @@ -48,7 +49,10 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
oml \
gsl \
fftw3 \
gpr \
owl \
'cairo2>=0.5' \
plplot \
archimedes \
mysql \
'mariadb>=0.8.1' \
Expand Down
4 changes: 4 additions & 0 deletions dockerfiles/centos7_ocaml4.05.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
fftw-devel \
libsvm-devel \
cairo-devel \
plplot-devel \
MariaDB-devel \
postgresql-devel \
sqlite-devel \
Expand All @@ -48,7 +49,10 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
oml \
gsl \
fftw3 \
gpr \
owl \
'cairo2>=0.5' \
plplot \
archimedes \
mysql \
'mariadb>=0.8.1' \
Expand Down
4 changes: 4 additions & 0 deletions dockerfiles/centos7_ocaml4.06.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
fftw-devel \
libsvm-devel \
cairo-devel \
plplot-devel \
MariaDB-devel \
postgresql-devel \
sqlite-devel \
Expand All @@ -48,7 +49,10 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
oml \
gsl \
fftw3 \
gpr \
owl \
'cairo2>=0.5' \
plplot \
archimedes \
mysql \
'mariadb>=0.8.1' \
Expand Down
5 changes: 5 additions & 0 deletions dockerfiles/debian8_ocaml4.04.1/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
libfftw3-dev \
libsvm-dev \
libcairo2-dev \
libplplot-dev \
libmariadb-dev \
libpq-dev \
libsqlite3-dev \
Expand All @@ -30,6 +31,7 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
imagemagick \
ffmpeg && \
sudo ln -sf /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20 /usr/lib/libmysqlclient.so && \
sudo ln -sf /usr/lib/x86_64-linux-gnu/libshp.so.2 /usr/lib/libshp.so && \
\
eval $(opam config env) && \
\
Expand All @@ -47,7 +49,10 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
oml \
gsl \
fftw3 \
gpr \
owl \
'cairo2>=0.5' \
plplot \
archimedes \
mysql \
'mariadb>=0.8.1' \
Expand Down
5 changes: 5 additions & 0 deletions dockerfiles/debian8_ocaml4.05.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
libfftw3-dev \
libsvm-dev \
libcairo2-dev \
libplplot-dev \
libmariadb-dev \
libpq-dev \
libsqlite3-dev \
Expand All @@ -30,6 +31,7 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
imagemagick \
ffmpeg && \
sudo ln -sf /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20 /usr/lib/libmysqlclient.so && \
sudo ln -sf /usr/lib/x86_64-linux-gnu/libshp.so.2 /usr/lib/libshp.so && \
\
eval $(opam config env) && \
\
Expand All @@ -47,7 +49,10 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
oml \
gsl \
fftw3 \
gpr \
owl \
'cairo2>=0.5' \
plplot \
archimedes \
mysql \
'mariadb>=0.8.1' \
Expand Down
5 changes: 5 additions & 0 deletions dockerfiles/debian8_ocaml4.06.0/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
libfftw3-dev \
libsvm-dev \
libcairo2-dev \
libplplot-dev \
libmariadb-dev \
libpq-dev \
libsqlite3-dev \
Expand All @@ -30,6 +31,7 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
imagemagick \
ffmpeg && \
sudo ln -sf /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20 /usr/lib/libmysqlclient.so && \
sudo ln -sf /usr/lib/x86_64-linux-gnu/libshp.so.2 /usr/lib/libshp.so && \
\
eval $(opam config env) && \
\
Expand All @@ -47,7 +49,10 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
oml \
gsl \
fftw3 \
gpr \
owl \
'cairo2>=0.5' \
plplot \
archimedes \
mysql \
'mariadb>=0.8.1' \
Expand Down
6 changes: 6 additions & 0 deletions generate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ function common_scripts() {
oml \
gsl \
fftw3 \
gpr \
owl \
'cairo2>=0.5' \
plplot \
archimedes \
mysql \
'mariadb>=0.8.1' \
Expand Down Expand Up @@ -96,6 +99,7 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
fftw-devel \\
libsvm-devel \\
cairo-devel \\
plplot-devel \\
MariaDB-devel \\
postgresql-devel \\
sqlite-devel \\
Expand Down Expand Up @@ -150,6 +154,7 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
libfftw3-dev \\
libsvm-dev \\
libcairo2-dev \\
libplplot-dev \\
libmariadb-dev \\
libpq-dev \\
libsqlite3-dev \\
Expand All @@ -158,6 +163,7 @@ RUN curl -L "https://storage.googleapis.com/tensorflow/libtensorflow/libtensorfl
imagemagick \\
ffmpeg && \\
sudo ln -sf /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20 /usr/lib/libmysqlclient.so && \\
sudo ln -sf /usr/lib/x86_64-linux-gnu/libshp.so.2 /usr/lib/libshp.so && \\
\\
$(common_scripts) && \\
\\
Expand Down

0 comments on commit 721129c

Please sign in to comment.