From b7081a59cdea218945e5232e1810a99721cbec08 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 21 Feb 2021 06:30:07 +0100 Subject: update to 2.1.4 --- PHPINFO | 4 +-- REFLECTION | 76 +++++++++++++++++++++++++++++++++++++--------------- php-pecl-tensor.spec | 5 +++- 3 files changed, 60 insertions(+), 25 deletions(-) diff --git a/PHPINFO b/PHPINFO index 1b25119..6a1b006 100644 --- a/PHPINFO +++ b/PHPINFO @@ -5,6 +5,6 @@ tensor Tensor is a library and extension that provides objects for scientific computing in PHP. tensor => enabled Author => Andrew DalPino -Version => 2.1.3 -Build Date => Feb 15 2021 00:00:00 +Version => 2.1.4 +Build Date => Feb 21 2021 00:00:00 Powered by Zephir => Version 0.12.20-$Id$ diff --git a/REFLECTION b/REFLECTION index 9f7ed85..b4d468c 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,9 +1,9 @@ -Extension [ extension #105 tensor version 2.1.3 ] { +Extension [ extension #105 tensor version 2.1.4 ] { - Dependencies { } - - Classes [15] { + - Classes [16] { Interface [ interface Tensor\Arithmetic ] { - Constants [0] { @@ -2590,10 +2590,58 @@ Extension [ extension #105 tensor version 2.1.3 ] { } } + Class [ class Tensor\Decompositions\Eigen ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ static public method decompose ] { + + - Parameters [2] { + Parameter #0 [ Tensor\Matrix $a ] + Parameter #1 [ bool $normalize ] + } + - Return [ Tensor\Decompositions\Eigen ] + } + } + + - Properties [2] { + Property [ protected $eigenvalues ] + Property [ protected $eigenvectors ] + } + + - Methods [3] { + Method [ public method __construct ] { + + - Parameters [2] { + Parameter #0 [ array $eigenvalues ] + Parameter #1 [ Tensor\Matrix $eigenvectors ] + } + } + + Method [ public method eigenvalues ] { + + - Parameters [0] { + } + - Return [ Tensor\Matrix ] + } + + Method [ public method eigenvectors ] { + + - Parameters [0] { + } + - Return [ Tensor\Matrix ] + } + } + } + Class [ class Tensor\Decompositions\Lu ] { - - Constants [1] { - Constant [ public float EPSILON ] { 1.0E-8 } + - Constants [0] { } - Static properties [0] { @@ -3058,7 +3106,7 @@ Extension [ extension #105 tensor version 2.1.3 ] { - Parameters [1] { Parameter #0 [ bool $normalize ] } - - Return [ Tensor\Eigen ] + - Return [ Tensor\Decompositions\Eigen ] } Method [ public method solve ] { @@ -3911,7 +3959,7 @@ Extension [ extension #105 tensor version 2.1.3 ] { - Static properties [0] { } - - Static methods [3] { + - Static methods [1] { Method [ static public method reduce ] { - Parameters [1] { @@ -3919,22 +3967,6 @@ Extension [ extension #105 tensor version 2.1.3 ] { } - Return [ Tensor\Reductions\Ref ] } - - Method [ static public method gaussianElimination ] { - - - Parameters [1] { - Parameter #0 [ Tensor\Matrix $a ] - } - - Return [ Tensor\Reductions\Ref ] - } - - Method [ static public method rowReductionMethod ] { - - - Parameters [1] { - Parameter #0 [ Tensor\Matrix $a ] - } - - Return [ Tensor\Reductions\Ref ] - } } - Properties [2] { diff --git a/php-pecl-tensor.spec b/php-pecl-tensor.spec index e1740dd..06fd253 100644 --- a/php-pecl-tensor.spec +++ b/php-pecl-tensor.spec @@ -16,7 +16,7 @@ # After 20-json %global ini_name 40-%{pecl_name}.ini -%global upstream_version 2.1.03 +%global upstream_version 2.1.4 #global upstream_prever alpha2 Summary: Objects for scientific computing in PHP @@ -203,6 +203,9 @@ fi %changelog +* Sun Feb 21 2021 Remi Collet - 2.1.4-1 +- update to 2.1.4 + * Mon Feb 15 2021 Remi Collet - 1.8.0~alpha2-1 - initial package - open https://github.com/RubixML/Tensor/pull/11 -- cgit