Skip to content

Commit

Permalink
Test release v0.1.6
Browse files Browse the repository at this point in the history
  • Loading branch information
siko1056 committed Nov 8, 2021
1 parent 1ba2eaf commit efe2e59
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 32 deletions.
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -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 <[email protected]>
maintainer: Kai T. Ohlhus <[email protected]>
title: Octave/Matlab arbitrary precision arithmetic.
Expand Down
10 changes: 5 additions & 5 deletions README.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -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"
]
Expand All @@ -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"
]
Expand Down
26 changes: 13 additions & 13 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```
Expand All @@ -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
```
Expand All @@ -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
Expand Down Expand Up @@ -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,
Expand Down
15 changes: 3 additions & 12 deletions doc/MEX_INTERFACE.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,18 @@
# 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,
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: <https://www.gnu.org/software/octave/download#ms-windows>
- macOS 11 (Big Sur): <https://formulae.brew.sh/formula/octave>
- Linux (openSUSE 15.3): <https://github.com/gnu-octave/docker>
Expand Down

0 comments on commit efe2e59

Please sign in to comment.