Skip to content
Tensor is a library and extension that provides objects for scientific computing in PHP.
PHP C Zephir JavaScript C++ M4 Other
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
ext
lib/JAMA
src
tensor
tests Fixed tensor __toString() tests Nov 16, 2019
.gitattributes
.gitignore
.php_cs.dist
.travis.yml
CHANGELOG.md
LICENSE.md Version bump Jun 28, 2019
README.md
composer.json
config.json
phpstan.neon
phpunit.xml Initial commit Oct 3, 2018

README.md

Rubix Tensor

Tensor is a library and extension that provides objects for scientific computing in PHP.

Installation

Install Tensor into your project with Composer:

$ composer require rubix/tensor

Requirements

  • PHP 7.1.3 or above

Optional

Additional Requirements for Compiling PHP Extension

See this guide for additional requirements for compiling and installing the PHP extension from source with Zephir.

Compiling the Extension

Clone the repository locally using Git:

$ git clone https://github.com/RubixML/Tensor

Install dependencies using Composer:

$ composer install

To compile the PHP extension from source you can run composer compile:

$ composer compile

Installing the Extension

To compile and install the extension in one command simply call composer install-ext:

$ composer install-ext

Then, add the follwing line to your php.ini configuration:

extension=tensor

License

MIT

You can’t perform that action at this time.