Skip to content

Commit 8f392c8

Browse files
New methods and features for 0.6.0 (#64)
* feat: squeeze manipulation routine with axis support * feat: NDArray::full implementation * feat: NDArray::fill release * feat: argmin and argmax with axis support * feat: NDArray::positive implementation * feat: NDArray::reciprocal implementation * feat: NDArray::reciprocal stubs * feat: NDArray::reciprocal stubs * feat: NDArray::swapaxes implementation feat: NDArray::transpose permutation * feat: NDArray::swapaxes and new transpose stubs * feat: NDArray::argmin and argmax keepdims option * feat: NDArray::rollaxis implementation * feat: NDArray::moveaxis implementation * fix: improvements to the slicing mechanism * feat: ndarray slicing stubs * fix: fixed slicing shape when arrays contain values * feat: hstack, vstack and dstack implementation * feat: column_stack implementation * feat: column_stack PHP stubs * feat: NDArray::concatenate implementation * feat: NDArray::append implementation * feat: NDArray::append stubs * docs: update README.md * fix: NDArray::append memory leak when using PHP arrays as arguments.
1 parent 0e20c24 commit 8f392c8

File tree

19 files changed

+1638
-169
lines changed

19 files changed

+1638
-169
lines changed

README.md

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,23 @@ NumPower aims to manage memory more efficiently than a matrix in PHP arrays
3333
- **Optional (GPU)**: CUBLAS, CUDA Build Toolkit and cuDNN
3434
- **Optional (Image)**: PHP-GD
3535

36-
## Composer Install
36+
## Compiling
37+
38+
```
39+
$ phpize
40+
$ ./configure
41+
$ make install
42+
```
43+
44+
## Compiling with GPU (CUDA) support
45+
46+
```
47+
$ phpize
48+
$ ./configure --with-cuda
49+
$ make install-cuda
50+
```
51+
52+
## Composer install
3753
The composer package provides a stubs file to facilitate autocomplete in the IDE. To install, simply run the command below in your environment with composer installed:
3854

3955
```bash
@@ -42,7 +58,7 @@ $ composer require numpower/numpower
4258

4359
The composer package will follow the same versioning as the extension.
4460

45-
## GPU Support
61+
## GPU support
4662

4763
If you have an NVIDIA graphics card with CUDA support, you can use your graphics card
4864
to perform operations. To do this, just copy your array to the GPU memory.

0 commit comments

Comments
 (0)