| Did you know ... | Search Documentation: |
| Packs (add-ons) for SWI-Prolog |
| Title: | Operations with matrices using Prolog and C |
|---|---|
| Rating: | Not rated. Create the first rating! |
| Latest version: | 0.1.0 |
| SHA1 sum: | f766f068919bdaa45624eaefbfb7620c039fde52 |
| Author: | Fabrizio Riguzzi <fabrizio.riguzzi@unife.it> |
| Marco Alberti <marco.alberti@unife.it> | |
| Mattia Tempestini <mattia.tempestini@student.unife.it> | |
| Requires: | ffi |
| lambda |
No reviews. Create the first review!.
| Version | SHA1 | #Downloads | URL |
|---|---|---|---|
| 0.1.0 | be71c22bd273910803bc1fd4a521abd73572cc48 | 3 | https://github.com/malbertife/ffimatrix.git |
| 426a4c64b8fc992349de7330c48310c6e77973bc | 2 | https://github.com/malbertife/ffimatrix.git | |
| 962695bcd9ce129b324238157337b68292f66b74 | 1 | https://github.com/malbertife/ffimatrix.git | |
| 99c86072717c628d77e6f383eb718162bfb61c8d | 4 | https://github.com/malbertife/ffimatrix.git | |
| b667d82d3acf0932daf4fda82a7319daf49822c5 | 7 | https://github.com/malbertife/ffimatrix.git | |
| 4dbf065c029080c1cf54a659907f1dc497708b29 | 1 | https://github.com/malbertife/ffimatrix.git | |
| a4a6de5e5a9cdf4d781ce812c3b3c2809b54aa62 | 1 | https://github.com/malbertife/ffimatrix.git | |
| 82a79aa8d07eb822a7da67474f04c3ae2ca8dc85 | 3 | https://github.com/malbertife/ffimatrix.git | |
| b01312e9b22ab8ef5a7e043e191bab64858634d3 | 2 | https://github.com/malbertife/ffimatrix.git | |
| f766f068919bdaa45624eaefbfb7620c039fde52 | 1 | https://github.com/malbertife/ffimatrix.git | |
| dd0b8dc36a8cd60fb66dd906baa895cbdbef54fe | 63 | https://github.com/malbertife/ffimatrix.git |
SWI-Prolog pack f or matrix operations. Now being rewritten to use the new FFI library for SWI-Prolog. Work in progress, do not use for now.
Install the packages libffi-dev and libatlas-base-dev
sudo apt-get install libffi-dev libatlas-base-dev
Copy prolog/ffimatrix.ubuntu.pl to prolog/ffimatrix.pl
and compile
cp Makefile.macAcc Makefile cp prolog/ffimatrix.mac.pl prolog/ffimatrix.pl source buildenv.sh make
Apple macOS 10.3+ SDK includes BLAS in framework Accelerate.
Copy Makefile.macAcc to Makefile and prolog/ffimatrix.mac.pl to prolog/ffimatrix.pl
and compile
cp Makefile.macAcc Makefile cp prolog/ffimatrix.mac.pl prolog/ffimatrix.pl source buildenv.sh make
Install the openblas Homebrew formula:
brew install openblas ```` Copy `Makefile.macOB` to `Makefile` and `prolog/ffimatrix.mac.pl` to `prolog/ffimatrix.pl` and compile
cp Makefile.mac Makefile cp prolog/ffimatrix.mac.pl prolog/ffimatrix.pl source buildenv.sh make ```
Pack contains 19 files holding a total of 164K bytes.