The Wayback Machine - https://web.archive.org/web/20201112015605/https://github.com/RubixML/Tensor
Skip to content
master
Go to file
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
ext
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Tensor: Scientific Computing for PHP

PHP from Packagist Latest Stable Version Build Downloads from Packagist GitHub

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.2 or above

Optional

Additional Requirements for Compiling 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 you may call composer install-ext:

$ composer install-ext

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

extension=tensor

License

The code is licensed MIT and the documentation is licensed CC BY-NC 4.0.

You can’t perform that action at this time.