@@ -7,9 +7,9 @@ operators of comparison, addition, multiplication, casting and much more!
77
88This library is first ever userland PHP extension, that implements operator overloading for the ` Matrix ` class.
99
10- [ ![ GitHub release] ( https://img.shields.io/github/release/lisachenko/native-types .svg )] ( https://github.com/lisachenko/native-types /releases/latest )
10+ [ ![ GitHub release] ( https://img.shields.io/github/release/lisachenko/native-php-matrix .svg )] ( https://github.com/lisachenko/native-php-matrix /releases/latest )
1111[ ![ Minimum PHP Version] ( http://img.shields.io/badge/php-%3E%3D%207.4-8892BF.svg )] ( https://php.net/ )
12- [ ![ License] ( https://img.shields.io/packagist/l/lisachenko/native-types .svg )] ( https://packagist.org/packages/lisachenko/native-types )
12+ [ ![ License] ( https://img.shields.io/packagist/l/lisachenko/native-php-matrix .svg )] ( https://packagist.org/packages/lisachenko/native-php-matrix )
1313
1414
1515Pre-requisites and initialization
@@ -20,7 +20,7 @@ As this library depends on `FFI`, it requires PHP>=7.4 and `FFI` extension to be
2020
2121To install this library, simply add it via ` composer ` :
2222``` bash
23- composer require lisachenko/native-types
23+ composer require lisachenko/native-php-matrix
2424```
2525
2626Now you can test it with following example:
@@ -39,9 +39,9 @@ $value = $first * 2 + $second; // Matrix([[22, 44, 66]])
3939Supported features:
4040 - [x] Matrices addition (` $matrixA + $matrixB ` )
4141 - [x] Matrices subtraction (` $matrixA - $matrixB ` )
42+ - [x] Matrix multiplication by number (` $matrixA * 2 ` )
4243 - [x] Matrices multiplication (` $matrixA * $matrixB ` )
43- - [x] Matrices division (` $matrixA / $matrixB ` )
44- - [x] Matrices division (` $matrixA / $matrixB ` )
44+ - [x] Dividing a matrix by a number (` $matrixA / 2 ` )
4545 - [x] Matrices equality check (` $matrixA == $matrixB ` )
4646
4747For the future versions, I would like to implement native SSE/AVX assembly methods to improve the performance of calculation.
0 commit comments