Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nicer unit tests #40

Merged
merged 11 commits into from
Sep 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Tensor: Scientific Computing for PHP

[![PHP from Packagist](https://img.shields.io/packagist/php-v/rubix/tensor.svg?style=flat&colorB=8892BF)](https://www.php.net/) [![Latest Stable Version](https://img.shields.io/packagist/v/rubix/tensor.svg?style=flat&colorB=orange)](https://packagist.org/packages/rubix/tensor) [![PHP Build](https://github.com/RubixML/Tensor/workflows/Build/badge.svg)](https://github.com/RubixML/Tensor/actions) [![Extension Build](https://github.com/RubixML/Tensor/actions/workflows/ci-ext.yml/badge.svg)](https://github.com/RubixML/Tensor/actions/workflows/ci-ext.yml) [![Downloads from Packagist](https://img.shields.io/packagist/dt/rubix/tensor.svg?style=flat&colorB=red)](https://packagist.org/packages/rubix/tensor) [![GitHub](https://img.shields.io/github/license/RubixML/Tensor)](https://github.com/RubixML/Tensor/blob/master/LICENSE.md)
[![PHP from Packagist](https://img.shields.io/packagist/php-v/rubix/tensor.svg?style=flat&colorB=8892BF)](https://www.php.net/) [![Latest Stable Version](https://img.shields.io/packagist/v/rubix/tensor.svg?style=flat&colorB=orange)](https://packagist.org/packages/rubix/tensor) [![Code Checks](https://github.com/RubixML/Tensor/actions/workflows/ci.yml/badge.svg)](https://github.com/RubixML/Tensor/actions/workflows/ci.yml) [![Extension Build](https://github.com/RubixML/Tensor/actions/workflows/ci-ext.yml/badge.svg)](https://github.com/RubixML/Tensor/actions/workflows/ci-ext.yml) [![Downloads from Packagist](https://img.shields.io/packagist/dt/rubix/tensor.svg?style=flat&colorB=red)](https://packagist.org/packages/rubix/tensor) [![GitHub](https://img.shields.io/github/license/RubixML/Tensor)](https://github.com/RubixML/Tensor/blob/master/LICENSE.md)

A library and extension that provides objects for scientific computing in [PHP](https://php.net).
## Installation
Expand Down
2 changes: 1 addition & 1 deletion config.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"author": "The Rubix ML Community",
"version": "3.0.3",
"verbose": true,
"extra-cflags": "-O3 -ffast-math",
"extra-cflags": "-O3",
"extra-libs": "-lopenblas -llapacke -lgfortran",
"extra-sources": [
"include/arithmetic.c",
Expand Down
2 changes: 1 addition & 1 deletion ext/config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ if test "$PHP_TENSOR" = "yes"; then
include/linear_algebra.c
include/signal_processing.c
include/settings.c"
PHP_NEW_EXTENSION(tensor, $tensor_sources, $ext_shared,, -O3 -ffast-math)
PHP_NEW_EXTENSION(tensor, $tensor_sources, $ext_shared,, -O3)
PHP_ADD_BUILD_DIR([$ext_builddir/kernel/])
for dir in "tensor tensor/decompositions tensor/exceptions tensor/reductions"; do
PHP_ADD_BUILD_DIR([$ext_builddir/$dir])
Expand Down
2 changes: 1 addition & 1 deletion ext/php_tensor.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#define PHP_TENSOR_VERSION "3.0.3"
#define PHP_TENSOR_EXTNAME "tensor"
#define PHP_TENSOR_AUTHOR "The Rubix ML Community"
#define PHP_TENSOR_ZEPVERSION "0.17.0-9f99da6"
#define PHP_TENSOR_ZEPVERSION "0.17.0-$Id$"
#define PHP_TENSOR_DESCRIPTION "A library and extension that provides objects for scientific computing in PHP."


Expand Down
26 changes: 13 additions & 13 deletions ext/tensor/columnvector.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ext/tensor/decompositions/cholesky.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions ext/tensor/decompositions/eigen.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions ext/tensor/decompositions/lu.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions ext/tensor/decompositions/svd.zep.c

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading