summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-02-21 06:30:07 +0100
committerRemi Collet <remi@remirepo.net>2021-02-21 06:30:07 +0100
commitb7081a59cdea218945e5232e1810a99721cbec08 (patch)
tree84d1a7d07c2189d6c669c1cbb9d25db20410c987
parent33dfc42aa6cacbbb339960b306f98922077d313a (diff)
update to 2.1.4
-rw-r--r--PHPINFO4
-rw-r--r--REFLECTION76
-rw-r--r--php-pecl-tensor.spec5
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 [ <persistent> extension #105 tensor version 2.1.3 ] {
+Extension [ <persistent> extension #105 tensor version 2.1.4 ] {
- Dependencies {
}
- - Classes [15] {
+ - Classes [16] {
Interface [ <internal:tensor> interface Tensor\Arithmetic ] {
- Constants [0] {
@@ -2590,10 +2590,58 @@ Extension [ <persistent> extension #105 tensor version 2.1.3 ] {
}
}
+ Class [ <internal:tensor> class Tensor\Decompositions\Eigen ] {
+
+ - Constants [0] {
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [1] {
+ Method [ <internal:tensor> static public method decompose ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> Tensor\Matrix $a ]
+ Parameter #1 [ <required> bool $normalize ]
+ }
+ - Return [ Tensor\Decompositions\Eigen ]
+ }
+ }
+
+ - Properties [2] {
+ Property [ <default> protected $eigenvalues ]
+ Property [ <default> protected $eigenvectors ]
+ }
+
+ - Methods [3] {
+ Method [ <internal:tensor, ctor> public method __construct ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> array $eigenvalues ]
+ Parameter #1 [ <required> Tensor\Matrix $eigenvectors ]
+ }
+ }
+
+ Method [ <internal:tensor> public method eigenvalues ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Tensor\Matrix ]
+ }
+
+ Method [ <internal:tensor> public method eigenvectors ] {
+
+ - Parameters [0] {
+ }
+ - Return [ Tensor\Matrix ]
+ }
+ }
+ }
+
Class [ <internal:tensor> class Tensor\Decompositions\Lu ] {
- - Constants [1] {
- Constant [ public float EPSILON ] { 1.0E-8 }
+ - Constants [0] {
}
- Static properties [0] {
@@ -3058,7 +3106,7 @@ Extension [ <persistent> extension #105 tensor version 2.1.3 ] {
- Parameters [1] {
Parameter #0 [ <optional> bool $normalize ]
}
- - Return [ Tensor\Eigen ]
+ - Return [ Tensor\Decompositions\Eigen ]
}
Method [ <internal:tensor> public method solve ] {
@@ -3911,7 +3959,7 @@ Extension [ <persistent> extension #105 tensor version 2.1.3 ] {
- Static properties [0] {
}
- - Static methods [3] {
+ - Static methods [1] {
Method [ <internal:tensor> static public method reduce ] {
- Parameters [1] {
@@ -3919,22 +3967,6 @@ Extension [ <persistent> extension #105 tensor version 2.1.3 ] {
}
- Return [ Tensor\Reductions\Ref ]
}
-
- Method [ <internal:tensor> static public method gaussianElimination ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> Tensor\Matrix $a ]
- }
- - Return [ Tensor\Reductions\Ref ]
- }
-
- Method [ <internal:tensor> static public method rowReductionMethod ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> 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 <remi@remirepo.net> - 2.1.4-1
+- update to 2.1.4
+
* Mon Feb 15 2021 Remi Collet <remi@remirepo.net> - 1.8.0~alpha2-1
- initial package
- open https://github.com/RubixML/Tensor/pull/11