From efe2e595bd0efa5408a70d6ad3edcc9a8cc22208 Mon Sep 17 00:00:00 2001 From: "Kai T. Ohlhus" Date: Mon, 8 Nov 2021 18:45:17 +0900 Subject: [PATCH] Test release v0.1.6 --- DESCRIPTION | 4 ++-- README.ipynb | 10 +++++----- README.md | 26 +++++++++++++------------- doc/MEX_INTERFACE.md | 15 +++------------ 4 files changed, 23 insertions(+), 32 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 2032fbb..6905417 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ name: apa -version: 0.1.5 -date: 2021-10-28 +version: 0.1.6 +date: 2021-11-08 author: Kai T. Ohlhus maintainer: Kai T. Ohlhus title: Octave/Matlab arbitrary precision arithmetic. diff --git a/README.ipynb b/README.ipynb index 3aeb191..adb8fe3 100644 --- a/README.ipynb +++ b/README.ipynb @@ -25,7 +25,7 @@ "metadata": {}, "outputs": [], "source": [ - "pkg install 'https://github.com/gnu-octave/apa/releases/download/v0.1.5/apa-0.1.5.zip'\n", + "pkg install 'https://github.com/gnu-octave/apa/releases/download/v0.1.6/apa-0.1.6.zip'\n", "pkg load apa\n", "pkg test apa" ] @@ -45,10 +45,10 @@ "metadata": {}, "outputs": [], "source": [ - "urlwrite ('https://github.com/gnu-octave/apa/releases/download/v0.1.5/apa-0.1.5.zip', ...\n", - " 'apa-0.1.5.zip');\n", - "unzip ('apa-0.1.5.zip');\n", - "cd (fullfile ('apa-0.1.5', 'inst'))\n", + "urlwrite ('https://github.com/gnu-octave/apa/releases/download/v0.1.6/apa-0.1.6.zip', ...\n", + " 'apa-0.1.6.zip');\n", + "unzip ('apa-0.1.6.zip');\n", + "cd (fullfile ('apa-0.1.6', 'inst'))\n", "install_apa\n", "test_apa" ] diff --git a/README.md b/README.md index a538c18..a7c4490 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ From the Octave command-line run: ```octave -pkg install 'https://github.com/gnu-octave/apa/releases/download/v0.1.5/apa-0.1.5.zip' +pkg install 'https://github.com/gnu-octave/apa/releases/download/v0.1.6/apa-0.1.6.zip' pkg load apa pkg test apa ``` @@ -15,10 +15,10 @@ From the Matlab command-line run (also works for Octave): ```octave -urlwrite ('https://github.com/gnu-octave/apa/releases/download/v0.1.5/apa-0.1.5.zip', ... - 'apa-0.1.5.zip'); -unzip ('apa-0.1.5.zip'); -cd (fullfile ('apa-0.1.5', 'inst')) +urlwrite ('https://github.com/gnu-octave/apa/releases/download/v0.1.6/apa-0.1.6.zip', ... + 'apa-0.1.6.zip'); +unzip ('apa-0.1.6.zip'); +cd (fullfile ('apa-0.1.6', 'inst')) install_apa test_apa ``` @@ -37,15 +37,15 @@ rop = op1 + 1 ``` rop = - + MPFR 3x3 matrix (precision 53 binary digits) - + Double approximation: - + 5 1 1 1 5 1 1 1 5 - + The high-level MPFR interface is the preferred choice for quick numerical @@ -96,15 +96,15 @@ rop % Note rop vs. ret! ``` rop = - + MPFR 3x3 matrix (precision 53 binary digits) - + Double approximation: - + 6 2 2 2 6 2 2 2 6 - + In the low-level interface the type checks are stricter, diff --git a/doc/MEX_INTERFACE.md b/doc/MEX_INTERFACE.md index b17fae7..fed0583 100644 --- a/doc/MEX_INTERFACE.md +++ b/doc/MEX_INTERFACE.md @@ -1,5 +1,7 @@ # The APA Octave/Matlab MEX interface +For general installation instructions, please read `README.md`. + The APA Octave/Matlab MEX-interface consists of several source files in the `inst/mex` directory (C and header files) and in the released package version with pre-compiled static GMP and MPFR libraries for MS Windows, macOS, @@ -7,21 +9,10 @@ and UNIX (Linux). If those pre-compiled libraries are missing or not working, please read below. -From the Octave/Matlab command-line run: - -```matlab -urlwrite ('https://github.com/gnu-octave/apa/releases/download/v0.1.5/apa-0.1.5.zip', ... - 'apa-0.1.5.zip'); -unzip ('apa-0.1.5.zip'); -cd (fullfile ('apa-0.1.5', 'inst')) -install_apa -test_apa -``` - The APA MEX interface is known to work and tested for - GNU Octave - - Version 6.3.0 + - Version 6.4.0 - MS Windows 10: - macOS 11 (Big Sur): - Linux (openSUSE 15.3):