Download the PHP package rindow/rindow-matlib-ffi without Composer
On this page you can find all versions of the php package rindow/rindow-matlib-ffi. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package rindow-matlib-ffi
The Interface of The Rindow Matlib on FFI
"The interface of rindow matlib on ffi".
Please see the documents about rindow mathematics on Rindow Mathematics web pages.
You can call a high-speed calculation library written in C language to speed up matrix calculation processing. Rindow Matlib includes many matrix operations functions used in machine learning.
Requirements
- PHP 8.1 or PHP8.2 or PHP8.3 or PHP8.4
- Rindow Matlib C Library 1.1 or later
- Windows 10/11, Linux, macOS
How to setup
How to setup for Windows
Download the pre-build binary file.
Unzip the file for Windows and copy rindowmatlib.dll to the directory set in PATH.
The standard DLLs in the Bin directory is the thread version. Subdirectories contain OpenMP and Serial versions.
Set it up using composer.
How to setup for Linux
Download the pre-build binary file.
Please install using the apt command.
Set it up using composer.
How to setup for macOS
Download the pre-build binary file.
Extract the tar.gz file to the tmp directory and navigate to the directory.
The standard dylib in the Lib directory is the thread version. Subdirectories contain OpenMP and Serial versions.
Next, copy the include and lib directories to /usr/local.
If you want to use OpenMP mode please type brew install libomp
Set it up using composer.
Troubleshooting for Linux
Since rindow-matlib currently uses ptheads, so you should choose the pthread version for OpenBLAS as well. In version 1.0 of Rindow-matlib we recommended the OpenMP version, but now we have changed our policy and are recommending the pthread version.
Using the OpenMP version of OpenBLAS can cause conflicts and become unstable and slow. This issue does not occur on Windows.
If you have already installed the OpenMP version of OpenBLAS, you can delete it and install pthread version.
But if you can't remove it, you can switch to it using the update-alternatives command.
If you really want to use the OpenMP version of OpenBLAS, please switch to the OpenMP version of rindow-matlib.
Choose the "rindowmatlib-openmp".