summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2021-05-25 09:15:33 +0200
committerRemi Collet <remi@remirepo.net>2021-05-25 09:15:33 +0200
commit7ecfb6a19e40c7aaefe1a6432c656bf605842e6d (patch)
tree46ba345e268d66a833a0e281589940eba26303c6
parent0373bcdec3b3fc1c4859dcade848c3047df4eda3 (diff)
update to 3.0.0 (beta)
raise dependency on PHP 7.4
-rw-r--r--PHPINFO4
-rw-r--r--REFLECTION982
-rw-r--r--php-pecl-tensor.spec12
-rw-r--r--tensor-libs.patch2
4 files changed, 541 insertions, 459 deletions
diff --git a/PHPINFO b/PHPINFO
index ee6e28c..8da9d38 100644
--- a/PHPINFO
+++ b/PHPINFO
@@ -5,6 +5,6 @@ tensor
A library and extension that provides objects for scientific computing in PHP.
tensor => enabled
Author => Andrew DalPino
-Version => 2.2.3
+Version => 3.0.0-beta
Build Date => May 25 2021 00:00:00
-Powered by Zephir => Version 0.12.21-$Id$
+Powered by Zephir => Version 0.13.5-$Id$
diff --git a/REFLECTION b/REFLECTION
index f900ae0..8a11e10 100644
--- a/REFLECTION
+++ b/REFLECTION
@@ -1,9 +1,101 @@
-Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
+Extension [ <persistent> extension #102 tensor version 3.0.0-beta ] {
- Dependencies {
}
- - Classes [21] {
+ - Classes [22] {
+ Interface [ <internal:tensor> interface Tensor\Algebraic ] {
+
+ - Constants [1] {
+ Constant [ public float M_E ] { 2.718281828459 }
+ }
+
+ - Static properties [0] {
+ }
+
+ - Static methods [0] {
+ }
+
+ - Properties [0] {
+ }
+
+ - Methods [12] {
+ Method [ <internal:tensor> abstract public method abs ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:tensor> abstract public method square ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:tensor> abstract public method sqrt ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:tensor> abstract public method exp ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:tensor> abstract public method expm1 ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:tensor> abstract public method log ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $base ]
+ }
+ }
+
+ Method [ <internal:tensor> abstract public method log1p ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:tensor> abstract public method round ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <optional> int $precision ]
+ }
+ }
+
+ Method [ <internal:tensor> abstract public method floor ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:tensor> abstract public method ceil ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:tensor> abstract public method sign ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:tensor> abstract public method negate ] {
+
+ - Parameters [0] {
+ }
+ }
+ }
+ }
+
Interface [ <internal:tensor> interface Tensor\Arithmetic ] {
- Constants [0] {
@@ -77,7 +169,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Properties [0] {
}
- - Methods [9] {
+ - Methods [12] {
Method [ <internal:tensor> abstract public method shape ] {
- Parameters [0] {
@@ -85,6 +177,13 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ array ]
}
+ Method [ <internal:tensor> abstract public method shapeString ] {
+
+ - Parameters [0] {
+ }
+ - Return [ string ]
+ }
+
Method [ <internal:tensor> abstract public method size ] {
- Parameters [0] {
@@ -92,6 +191,22 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ int ]
}
+ Method [ <internal:tensor> abstract public method map ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> $callback ]
+ }
+ }
+
+ Method [ <internal:tensor> abstract public method reduce ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> $callback ]
+ Parameter #1 [ <optional> float $initial ]
+ }
+ - Return [ float ]
+ }
+
Method [ <internal:tensor> abstract public method asArray ] {
- Parameters [0] {
@@ -198,10 +313,9 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
}
}
- Interface [ <internal:tensor> interface Tensor\Functional ] {
+ Interface [ <internal:tensor> interface Tensor\Special ] {
- - Constants [1] {
- Constant [ public float M_E ] { 2.718281828459 }
+ - Constants [0] {
}
- Static properties [0] {
@@ -213,61 +327,51 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Properties [0] {
}
- - Methods [16] {
- Method [ <internal:tensor> abstract public method abs ] {
- }
-
- Method [ <internal:tensor> abstract public method square ] {
- }
+ - Methods [7] {
+ Method [ <internal:tensor> abstract public method sum ] {
- Method [ <internal:tensor> abstract public method sqrt ] {
+ - Parameters [0] {
+ }
}
- Method [ <internal:tensor> abstract public method exp ] {
- }
+ Method [ <internal:tensor> abstract public method product ] {
- Method [ <internal:tensor> abstract public method expm1 ] {
+ - Parameters [0] {
+ }
}
- Method [ <internal:tensor> abstract public method log ] {
+ Method [ <internal:tensor> abstract public method min ] {
- - Parameters [1] {
- Parameter #0 [ <optional> float $base ]
+ - Parameters [0] {
}
}
- Method [ <internal:tensor> abstract public method log1p ] {
- }
-
- Method [ <internal:tensor> abstract public method sum ] {
- }
+ Method [ <internal:tensor> abstract public method max ] {
- Method [ <internal:tensor> abstract public method product ] {
+ - Parameters [0] {
+ }
}
- Method [ <internal:tensor> abstract public method min ] {
- }
+ Method [ <internal:tensor> abstract public method clip ] {
- Method [ <internal:tensor> abstract public method max ] {
+ - Parameters [2] {
+ Parameter #0 [ <required> float $min ]
+ Parameter #1 [ <required> float $max ]
+ }
}
- Method [ <internal:tensor> abstract public method round ] {
+ Method [ <internal:tensor> abstract public method clipLower ] {
- Parameters [1] {
- Parameter #0 [ <optional> int $precision ]
+ Parameter #0 [ <required> float $min ]
}
}
- Method [ <internal:tensor> abstract public method floor ] {
- }
-
- Method [ <internal:tensor> abstract public method ceil ] {
- }
-
- Method [ <internal:tensor> abstract public method sign ] {
- }
+ Method [ <internal:tensor> abstract public method clipUpper ] {
- Method [ <internal:tensor> abstract public method negate ] {
+ - Parameters [1] {
+ Parameter #0 [ <required> float $max ]
+ }
}
}
}
@@ -288,6 +392,9 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Methods [4] {
Method [ <internal:tensor> abstract public method mean ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor> abstract public method variance ] {
@@ -298,6 +405,9 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
}
Method [ <internal:tensor> abstract public method median ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor> abstract public method quantile ] {
@@ -327,27 +437,51 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Methods [8] {
Method [ <internal:tensor> abstract public method sin ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor> abstract public method asin ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor> abstract public method cos ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor> abstract public method acos ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor> abstract public method tan ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor> abstract public method atan ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor> abstract public method rad2deg ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor> abstract public method deg2rad ] {
+
+ - Parameters [0] {
+ }
}
}
}
@@ -393,7 +527,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
}
}
- Interface [ <internal:tensor> interface Tensor\Tensor extends Tensor\ArrayLike, Countable, Traversable, IteratorAggregate, ArrayAccess, Tensor\Arithmetic, Tensor\Comparable, Tensor\Functional, Tensor\Trigonometric, Tensor\Statistical ] {
+ Interface [ <internal:tensor> interface Tensor\Tensor extends Tensor\ArrayLike, Countable, Traversable, IteratorAggregate, ArrayAccess, Tensor\Arithmetic, Tensor\Comparable, Tensor\Algebraic, Tensor\Trigonometric, Tensor\Statistical, Tensor\Special ] {
- Constants [4] {
Constant [ public float EPSILON ] { 1.0E-8 }
@@ -411,73 +545,42 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Properties [0] {
}
- - Methods [57] {
- Method [ <internal:tensor> abstract public method map ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> $callback ]
- }
- }
-
- Method [ <internal:tensor> abstract public method reduce ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> $callback ]
- Parameter #1 [ <optional> $initial ]
- }
- }
-
- Method [ <internal:tensor> abstract public method transpose ] {
- }
-
- Method [ <internal:tensor> abstract public method clip ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> float $min ]
- Parameter #1 [ <required> float $max ]
- }
- }
-
- Method [ <internal:tensor> abstract public method clipLower ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> float $min ]
- }
- }
-
- Method [ <internal:tensor> abstract public method clipUpper ] {
+ - Methods [55] {
+ Method [ <internal:tensor, inherits Tensor\ArrayLike> abstract public method shape ] {
- - Parameters [1] {
- Parameter #0 [ <required> float $max ]
+ - Parameters [0] {
}
+ - Return [ array ]
}
- Method [ <internal:tensor> abstract public method shapeString ] {
+ Method [ <internal:tensor, inherits Tensor\ArrayLike> abstract public method shapeString ] {
- Parameters [0] {
}
- Return [ string ]
}
- Method [ <internal:tensor> abstract public method __toString ] {
+ Method [ <internal:tensor, inherits Tensor\ArrayLike> abstract public method size ] {
- Parameters [0] {
}
- - Return [ string ]
+ - Return [ int ]
}
- Method [ <internal:tensor, inherits Tensor\ArrayLike> abstract public method shape ] {
+ Method [ <internal:tensor, inherits Tensor\ArrayLike> abstract public method map ] {
- - Parameters [0] {
+ - Parameters [1] {
+ Parameter #0 [ <required> $callback ]
}
- - Return [ array ]
}
- Method [ <internal:tensor, inherits Tensor\ArrayLike> abstract public method size ] {
+ Method [ <internal:tensor, inherits Tensor\ArrayLike> abstract public method reduce ] {
- - Parameters [0] {
+ - Parameters [2] {
+ Parameter #0 [ <required> $callback ]
+ Parameter #1 [ <optional> float $initial ]
}
- - Return [ int ]
+ - Return [ float ]
}
Method [ <internal:tensor, inherits Tensor\ArrayLike> abstract public method asArray ] {
@@ -609,87 +712,132 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
}
}
- Method [ <internal:tensor, inherits Tensor\Functional> abstract public method abs ] {
- }
+ Method [ <internal:tensor, inherits Tensor\Algebraic> abstract public method abs ] {
- Method [ <internal:tensor, inherits Tensor\Functional> abstract public method square ] {
+ - Parameters [0] {
+ }
}
- Method [ <internal:tensor, inherits Tensor\Functional> abstract public method sqrt ] {
- }
+ Method [ <internal:tensor, inherits Tensor\Algebraic> abstract public method square ] {
- Method [ <internal:tensor, inherits Tensor\Functional> abstract public method exp ] {
+ - Parameters [0] {
+ }
}
- Method [ <internal:tensor, inherits Tensor\Functional> abstract public method expm1 ] {
+ Method [ <internal:tensor, inherits Tensor\Algebraic> abstract public method sqrt ] {
+
+ - Parameters [0] {
+ }
}
- Method [ <internal:tensor, inherits Tensor\Functional> abstract public method log ] {
+ Method [ <internal:tensor, inherits Tensor\Algebraic> abstract public method exp ] {
- - Parameters [1] {
- Parameter #0 [ <optional> float $base ]
+ - Parameters [0] {
}
}
- Method [ <internal:tensor, inherits Tensor\Functional> abstract public method log1p ] {
- }
+ Method [ <internal:tensor, inherits Tensor\Algebraic> abstract public method expm1 ] {
- Method [ <internal:tensor, inherits Tensor\Functional> abstract public method sum ] {
+ - Parameters [0] {
+ }
}
- Method [ <internal:tensor, inherits Tensor\Functional> abstract public method product ] {
- }
+ Method [ <internal:tensor, inherits Tensor\Algebraic> abstract public method log ] {
- Method [ <internal:tensor, inherits Tensor\Functional> abstract public method min ] {
+ - Parameters [1] {
+ Parameter #0 [ <optional> float $base ]
+ }
}
- Method [ <internal:tensor, inherits Tensor\Functional> abstract public method max ] {
+ Method [ <internal:tensor, inherits Tensor\Algebraic> abstract public method log1p ] {
+
+ - Parameters [0] {
+ }
}
- Method [ <internal:tensor, inherits Tensor\Functional> abstract public method round ] {
+ Method [ <internal:tensor, inherits Tensor\Algebraic> abstract public method round ] {
- Parameters [1] {
Parameter #0 [ <optional> int $precision ]
}
}
- Method [ <internal:tensor, inherits Tensor\Functional> abstract public method floor ] {
+ Method [ <internal:tensor, inherits Tensor\Algebraic> abstract public method floor ] {
+
+ - Parameters [0] {
+ }
}
- Method [ <internal:tensor, inherits Tensor\Functional> abstract public method ceil ] {
+ Method [ <internal:tensor, inherits Tensor\Algebraic> abstract public method ceil ] {
+
+ - Parameters [0] {
+ }
}
- Method [ <internal:tensor, inherits Tensor\Functional> abstract public method sign ] {
+ Method [ <internal:tensor, inherits Tensor\Algebraic> abstract public method sign ] {
+
+ - Parameters [0] {
+ }
}
- Method [ <internal:tensor, inherits Tensor\Functional> abstract public method negate ] {
+ Method [ <internal:tensor, inherits Tensor\Algebraic> abstract public method negate ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor, inherits Tensor\Trigonometric> abstract public method sin ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor, inherits Tensor\Trigonometric> abstract public method asin ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor, inherits Tensor\Trigonometric> abstract public method cos ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor, inherits Tensor\Trigonometric> abstract public method acos ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor, inherits Tensor\Trigonometric> abstract public method tan ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor, inherits Tensor\Trigonometric> abstract public method atan ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor, inherits Tensor\Trigonometric> abstract public method rad2deg ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor, inherits Tensor\Trigonometric> abstract public method deg2rad ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor, inherits Tensor\Statistical> abstract public method mean ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor, inherits Tensor\Statistical> abstract public method variance ] {
@@ -700,6 +848,9 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
}
Method [ <internal:tensor, inherits Tensor\Statistical> abstract public method median ] {
+
+ - Parameters [0] {
+ }
}
Method [ <internal:tensor, inherits Tensor\Statistical> abstract public method quantile ] {
@@ -708,6 +859,52 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Parameter #0 [ <required> float $q ]
}
}
+
+ Method [ <internal:tensor, inherits Tensor\Special> abstract public method sum ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:tensor, inherits Tensor\Special> abstract public method product ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:tensor, inherits Tensor\Special> abstract public method min ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:tensor, inherits Tensor\Special> abstract public method max ] {
+
+ - Parameters [0] {
+ }
+ }
+
+ Method [ <internal:tensor, inherits Tensor\Special> abstract public method clip ] {
+
+ - Parameters [2] {
+ Parameter #0 [ <required> float $min ]
+ Parameter #1 [ <required> float $max ]
+ }
+ }
+
+ Method [ <internal:tensor, inherits Tensor\Special> abstract public method clipLower ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> float $min ]
+ }
+ }
+
+ Method [ <internal:tensor, inherits Tensor\Special> abstract public method clipUpper ] {
+
+ - Parameters [1] {
+ Parameter #0 [ <required> float $max ]
+ }
+ }
}
}
@@ -768,7 +965,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
}
}
- Class [ <internal:tensor> <iterateable> class Tensor\Vector implements Tensor\Tensor, Tensor\Statistical, Tensor\Trigonometric, Tensor\Functional, Tensor\Comparable, Tensor\Arithmetic, ArrayAccess, IteratorAggregate, Traversable, Countable, Tensor\ArrayLike ] {
+ Class [ <internal:tensor> <iterateable> class Tensor\Vector implements Tensor\Tensor, Tensor\Special, Tensor\Statistical, Tensor\Trigonometric, Tensor\Algebraic, Tensor\Comparable, Tensor\Arithmetic, ArrayAccess, IteratorAggregate, Traversable, Countable, Tensor\ArrayLike ] {
- Constants [4] {
Constant [ public float EPSILON ] { 1.0E-8 }
@@ -780,7 +977,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Static properties [0] {
}
- - Static methods [13] {
+ - Static methods [11] {
Method [ <internal:tensor> static public method build ] {
- Parameters [1] {
@@ -814,7 +1011,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> static public method fill ] {
- Parameters [2] {
- Parameter #0 [ <required> $value ]
+ Parameter #0 [ <required> float $value ]
Parameter #1 [ <required> int $n ]
}
- Return [ Tensor\Vector ]
@@ -856,9 +1053,9 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> static public method range ] {
- Parameters [3] {
- Parameter #0 [ <required> $start ]
- Parameter #1 [ <required> $end ]
- Parameter #2 [ <optional> $interval ]
+ Parameter #0 [ <required> float $start ]
+ Parameter #1 [ <required> float $end ]
+ Parameter #2 [ <optional> float $interval ]
}
- Return [ Tensor\Vector ]
}
@@ -872,24 +1069,6 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
}
- Return [ Tensor\Vector ]
}
-
- Method [ <internal:tensor> static public method maximum ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> Tensor\Vector $a ]
- Parameter #1 [ <required> Tensor\Vector $b ]
- }
- - Return [ Tensor\Vector ]
- }
-
- Method [ <internal:tensor> static public method minimum ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> Tensor\Vector $a ]
- Parameter #1 [ <required> Tensor\Vector $b ]
- }
- - Return [ Tensor\Vector ]
- }
}
- Properties [2] {
@@ -897,7 +1076,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Property [ <default> protected $n ]
}
- - Methods [113] {
+ - Methods [108] {
Method [ <internal:tensor, ctor> public method __construct ] {
- Parameters [2] {
@@ -913,7 +1092,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ array ]
}
- Method [ <internal:tensor, prototype Tensor\Tensor> public method shapeString ] {
+ Method [ <internal:tensor, prototype Tensor\ArrayLike> public method shapeString ] {
- Parameters [0] {
}
@@ -971,24 +1150,10 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Tensor> public method transpose ] {
+ Method [ <internal:tensor> public method transpose ] {
}
- Method [ <internal:tensor> public method argmin ] {
-
- - Parameters [0] {
- }
- - Return [ int ]
- }
-
- Method [ <internal:tensor> public method argmax ] {
-
- - Parameters [0] {
- }
- - Return [ int ]
- }
-
- Method [ <internal:tensor, prototype Tensor\Tensor> public method map ] {
+ Method [ <internal:tensor, prototype Tensor\ArrayLike> public method map ] {
- Parameters [1] {
Parameter #0 [ <required> $callback ]
@@ -996,12 +1161,13 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, prototype Tensor\Tensor> public method reduce ] {
+ Method [ <internal:tensor, prototype Tensor\ArrayLike> public method reduce ] {
- Parameters [2] {
Parameter #0 [ <required> $callback ]
- Parameter #1 [ <optional> $initial ]
+ Parameter #1 [ <optional> float $initial ]
}
+ - Return [ float ]
}
Method [ <internal:tensor> public method dot ] {
@@ -1034,6 +1200,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Parameters [1] {
Parameter #0 [ <required> Tensor\Vector $b ]
}
+ - Return [ float ]
}
Method [ <internal:tensor> public method outer ] {
@@ -1044,26 +1211,18 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor> public method cross ] {
+ Method [ <internal:tensor> public method l1Norm ] {
- - Parameters [1] {
- Parameter #0 [ <required> Tensor\Vector $b ]
+ - Parameters [0] {
}
- - Return [ Tensor\Vector ]
+ - Return [ float ]
}
- Method [ <internal:tensor> public method project ] {
+ Method [ <internal:tensor> public method l2Norm ] {
- - Parameters [1] {
- Parameter #0 [ <required> Tensor\Vector $b ]
+ - Parameters [0] {
}
- - Return [ Tensor\Vector ]
- }
-
- Method [ <internal:tensor> public method l1Norm ] {
- }
-
- Method [ <internal:tensor> public method l2Norm ] {
+ - Return [ float ]
}
Method [ <internal:tensor> public method pNorm ] {
@@ -1071,9 +1230,14 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Parameters [1] {
Parameter #0 [ <optional> float $p ]
}
+ - Return [ float ]
}
Method [ <internal:tensor> public method maxNorm ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
Method [ <internal:tensor, prototype Tensor\Arithmetic> public method multiply ] {
@@ -1167,42 +1331,42 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method abs ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method abs ] {
- Parameters [0] {
}
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method square ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method square ] {
- Parameters [0] {
}
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method sqrt ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method sqrt ] {
- Parameters [0] {
}
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method exp ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method exp ] {
- Parameters [0] {
}
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method expm1 ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method expm1 ] {
- Parameters [0] {
}
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method log ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method log ] {
- Parameters [1] {
Parameter #0 [ <optional> float $base ]
@@ -1210,7 +1374,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method log1p ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method log1p ] {
- Parameters [0] {
}
@@ -1273,22 +1437,46 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method sum ] {
+ Method [ <internal:tensor, prototype Tensor\Special> public method sum ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method product ] {
+ Method [ <internal:tensor, prototype Tensor\Special> public method product ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method min ] {
+ Method [ <internal:tensor, prototype Tensor\Special> public method min ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method max ] {
+ Method [ <internal:tensor, prototype Tensor\Special> public method max ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
Method [ <internal:tensor, prototype Tensor\Statistical> public method mean ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
Method [ <internal:tensor, prototype Tensor\Statistical> public method median ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
Method [ <internal:tensor, prototype Tensor\Statistical> public method quantile ] {
@@ -1296,6 +1484,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Parameters [1] {
Parameter #0 [ <required> float $q ]
}
+ - Return [ float ]
}
Method [ <internal:tensor, prototype Tensor\Statistical> public method variance ] {
@@ -1303,9 +1492,10 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Parameters [1] {
Parameter #0 [ <optional> $mean ]
}
+ - Return [ float ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method round ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method round ] {
- Parameters [1] {
Parameter #0 [ <optional> int $precision ]
@@ -1313,21 +1503,21 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method floor ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method floor ] {
- Parameters [0] {
}
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method ceil ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method ceil ] {
- Parameters [0] {
}
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, prototype Tensor\Tensor> public method clip ] {
+ Method [ <internal:tensor, prototype Tensor\Special> public method clip ] {
- Parameters [2] {
Parameter #0 [ <required> float $min ]
@@ -1336,7 +1526,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, prototype Tensor\Tensor> public method clipLower ] {
+ Method [ <internal:tensor, prototype Tensor\Special> public method clipLower ] {
- Parameters [1] {
Parameter #0 [ <required> float $min ]
@@ -1344,7 +1534,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, prototype Tensor\Tensor> public method clipUpper ] {
+ Method [ <internal:tensor, prototype Tensor\Special> public method clipUpper ] {
- Parameters [1] {
Parameter #0 [ <required> float $max ]
@@ -1352,14 +1542,14 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method sign ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method sign ] {
- Parameters [0] {
}
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method negate ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method negate ] {
- Parameters [0] {
}
@@ -1561,7 +1751,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method multiplyScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -1569,7 +1759,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method divideScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -1577,7 +1767,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method addScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -1585,7 +1775,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method subtractScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -1593,7 +1783,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method powScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -1601,7 +1791,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method modScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -1609,7 +1799,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method equalScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -1617,7 +1807,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method notEqualScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -1625,7 +1815,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method greaterScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -1633,7 +1823,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method greaterEqualScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -1641,7 +1831,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method lessScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -1649,7 +1839,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method lessEqualScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -1695,17 +1885,10 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, prototype IteratorAggregate> public method getIterator ] {
}
-
- Method [ <internal:tensor, prototype Tensor\Tensor> public method __toString ] {
-
- - Parameters [0] {
- }
- - Return [ string ]
- }
}
}
- Class [ <internal:tensor> <iterateable> class Tensor\ColumnVector extends Tensor\Vector implements Tensor\ArrayLike, Countable, Traversable, IteratorAggregate, ArrayAccess, Tensor\Arithmetic, Tensor\Comparable, Tensor\Functional, Tensor\Trigonometric, Tensor\Statistical, Tensor\Tensor ] {
+ Class [ <internal:tensor> <iterateable> class Tensor\ColumnVector extends Tensor\Vector implements Tensor\ArrayLike, Countable, Traversable, IteratorAggregate, ArrayAccess, Tensor\Arithmetic, Tensor\Comparable, Tensor\Algebraic, Tensor\Trigonometric, Tensor\Statistical, Tensor\Special, Tensor\Tensor ] {
- Constants [4] {
Constant [ public float EPSILON ] { 1.0E-8 }
@@ -1717,7 +1900,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Static properties [0] {
}
- - Static methods [13] {
+ - Static methods [11] {
Method [ <internal:tensor, overwrites Tensor\Vector, prototype Tensor\Vector> static public method build ] {
- Parameters [1] {
@@ -1751,7 +1934,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, inherits Tensor\Vector> static public method fill ] {
- Parameters [2] {
- Parameter #0 [ <required> $value ]
+ Parameter #0 [ <required> float $value ]
Parameter #1 [ <required> int $n ]
}
- Return [ Tensor\Vector ]
@@ -1793,9 +1976,9 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, inherits Tensor\Vector> static public method range ] {
- Parameters [3] {
- Parameter #0 [ <required> $start ]
- Parameter #1 [ <required> $end ]
- Parameter #2 [ <optional> $interval ]
+ Parameter #0 [ <required> float $start ]
+ Parameter #1 [ <required> float $end ]
+ Parameter #2 [ <optional> float $interval ]
}
- Return [ Tensor\Vector ]
}
@@ -1809,24 +1992,6 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
}
- Return [ Tensor\Vector ]
}
-
- Method [ <internal:tensor, inherits Tensor\Vector> static public method maximum ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> Tensor\Vector $a ]
- Parameter #1 [ <required> Tensor\Vector $b ]
- }
- - Return [ Tensor\Vector ]
- }
-
- Method [ <internal:tensor, inherits Tensor\Vector> static public method minimum ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> Tensor\Vector $a ]
- Parameter #1 [ <required> Tensor\Vector $b ]
- }
- - Return [ Tensor\Vector ]
- }
}
- Properties [2] {
@@ -1834,7 +1999,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Property [ <default> protected $n ]
}
- - Methods [113] {
+ - Methods [108] {
Method [ <internal:tensor, overwrites Tensor\Vector, prototype Tensor\Vector> public method m ] {
- Parameters [0] {
@@ -1849,7 +2014,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ int ]
}
- Method [ <internal:tensor, overwrites Tensor\Vector, prototype Tensor\Tensor> public method transpose ] {
+ Method [ <internal:tensor, overwrites Tensor\Vector, prototype Tensor\Vector> public method transpose ] {
}
Method [ <internal:tensor, overwrites Tensor\Vector, prototype Tensor\Vector> public method matmul ] {
@@ -1971,7 +2136,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ array ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Tensor> public method shapeString ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\ArrayLike> public method shapeString ] {
- Parameters [0] {
}
@@ -2015,21 +2180,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, inherits Tensor\Vector> public method argmin ] {
-
- - Parameters [0] {
- }
- - Return [ int ]
- }
-
- Method [ <internal:tensor, inherits Tensor\Vector> public method argmax ] {
-
- - Parameters [0] {
- }
- - Return [ int ]
- }
-
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Tensor> public method map ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\ArrayLike> public method map ] {
- Parameters [1] {
Parameter #0 [ <required> $callback ]
@@ -2037,12 +2188,13 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Tensor> public method reduce ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\ArrayLike> public method reduce ] {
- Parameters [2] {
Parameter #0 [ <required> $callback ]
- Parameter #1 [ <optional> $initial ]
+ Parameter #1 [ <optional> float $initial ]
}
+ - Return [ float ]
}
Method [ <internal:tensor, inherits Tensor\Vector> public method dot ] {
@@ -2067,6 +2219,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Parameters [1] {
Parameter #0 [ <required> Tensor\Vector $b ]
}
+ - Return [ float ]
}
Method [ <internal:tensor, inherits Tensor\Vector> public method outer ] {
@@ -2077,26 +2230,18 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, inherits Tensor\Vector> public method cross ] {
+ Method [ <internal:tensor, inherits Tensor\Vector> public method l1Norm ] {
- - Parameters [1] {
- Parameter #0 [ <required> Tensor\Vector $b ]
+ - Parameters [0] {
}
- - Return [ Tensor\Vector ]
+ - Return [ float ]
}
- Method [ <internal:tensor, inherits Tensor\Vector> public method project ] {
+ Method [ <internal:tensor, inherits Tensor\Vector> public method l2Norm ] {
- - Parameters [1] {
- Parameter #0 [ <required> Tensor\Vector $b ]
+ - Parameters [0] {
}
- - Return [ Tensor\Vector ]
- }
-
- Method [ <internal:tensor, inherits Tensor\Vector> public method l1Norm ] {
- }
-
- Method [ <internal:tensor, inherits Tensor\Vector> public method l2Norm ] {
+ - Return [ float ]
}
Method [ <internal:tensor, inherits Tensor\Vector> public method pNorm ] {
@@ -2104,9 +2249,14 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Parameters [1] {
Parameter #0 [ <optional> float $p ]
}
+ - Return [ float ]
}
Method [ <internal:tensor, inherits Tensor\Vector> public method maxNorm ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Arithmetic> public method multiply ] {
@@ -2200,42 +2350,42 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Functional> public method abs ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Algebraic> public method abs ] {
- Parameters [0] {
}
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Functional> public method square ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Algebraic> public method square ] {
- Parameters [0] {
}
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Functional> public method sqrt ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Algebraic> public method sqrt ] {
- Parameters [0] {
}
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Functional> public method exp ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Algebraic> public method exp ] {
- Parameters [0] {
}
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Functional> public method expm1 ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Algebraic> public method expm1 ] {
- Parameters [0] {
}
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Functional> public method log ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Algebraic> public method log ] {
- Parameters [1] {
Parameter #0 [ <optional> float $base ]
@@ -2243,7 +2393,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Functional> public method log1p ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Algebraic> public method log1p ] {
- Parameters [0] {
}
@@ -2306,22 +2456,46 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Functional> public method sum ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Special> public method sum ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Functional> public method product ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Special> public method product ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Functional> public method min ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Special> public method min ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Functional> public method max ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Special> public method max ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Statistical> public method mean ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Statistical> public method median ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Statistical> public method quantile ] {
@@ -2329,6 +2503,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Parameters [1] {
Parameter #0 [ <required> float $q ]
}
+ - Return [ float ]
}
Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Statistical> public method variance ] {
@@ -2336,9 +2511,10 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Parameters [1] {
Parameter #0 [ <optional> $mean ]
}
+ - Return [ float ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Functional> public method round ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Algebraic> public method round ] {
- Parameters [1] {
Parameter #0 [ <optional> int $precision ]
@@ -2346,21 +2522,21 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Functional> public method floor ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Algebraic> public method floor ] {
- Parameters [0] {
}
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Functional> public method ceil ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Algebraic> public method ceil ] {
- Parameters [0] {
}
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Tensor> public method clip ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Special> public method clip ] {
- Parameters [2] {
Parameter #0 [ <required> float $min ]
@@ -2369,7 +2545,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Tensor> public method clipLower ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Special> public method clipLower ] {
- Parameters [1] {
Parameter #0 [ <required> float $min ]
@@ -2377,7 +2553,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Tensor> public method clipUpper ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Special> public method clipUpper ] {
- Parameters [1] {
Parameter #0 [ <required> float $max ]
@@ -2385,14 +2561,14 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Functional> public method sign ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Algebraic> public method sign ] {
- Parameters [0] {
}
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Functional> public method negate ] {
+ Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Algebraic> public method negate ] {
- Parameters [0] {
}
@@ -2498,7 +2674,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, inherits Tensor\Vector> public method multiplyScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -2506,7 +2682,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, inherits Tensor\Vector> public method divideScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -2514,7 +2690,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, inherits Tensor\Vector> public method addScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -2522,7 +2698,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, inherits Tensor\Vector> public method subtractScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -2530,7 +2706,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, inherits Tensor\Vector> public method powScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -2538,7 +2714,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, inherits Tensor\Vector> public method modScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -2546,7 +2722,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, inherits Tensor\Vector> public method equalScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -2554,7 +2730,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, inherits Tensor\Vector> public method notEqualScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -2562,7 +2738,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, inherits Tensor\Vector> public method greaterScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -2570,7 +2746,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, inherits Tensor\Vector> public method greaterEqualScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -2578,7 +2754,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, inherits Tensor\Vector> public method lessScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -2586,7 +2762,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, inherits Tensor\Vector> public method lessEqualScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Vector ]
}
@@ -2632,13 +2808,6 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, inherits Tensor\Vector, prototype IteratorAggregate> public method getIterator ] {
}
-
- Method [ <internal:tensor, inherits Tensor\Vector, prototype Tensor\Tensor> public method __toString ] {
-
- - Parameters [0] {
- }
- - Return [ string ]
- }
}
}
@@ -2979,7 +3148,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
}
}
- Class [ <internal:tensor> <iterateable> class Tensor\Matrix implements Tensor\Tensor, Tensor\Statistical, Tensor\Trigonometric, Tensor\Functional, Tensor\Comparable, Tensor\Arithmetic, ArrayAccess, IteratorAggregate, Traversable, Countable, Tensor\ArrayLike ] {
+ Class [ <internal:tensor> <iterateable> class Tensor\Matrix implements Tensor\Tensor, Tensor\Special, Tensor\Statistical, Tensor\Trigonometric, Tensor\Algebraic, Tensor\Comparable, Tensor\Arithmetic, ArrayAccess, IteratorAggregate, Traversable, Countable, Tensor\ArrayLike ] {
- Constants [4] {
Constant [ public float EPSILON ] { 1.0E-8 }
@@ -2991,7 +3160,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Static properties [0] {
}
- - Static methods [15] {
+ - Static methods [11] {
Method [ <internal:tensor> static public method build ] {
- Parameters [1] {
@@ -3045,7 +3214,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> static public method fill ] {
- Parameters [3] {
- Parameter #0 [ <required> $value ]
+ Parameter #0 [ <required> float $value ]
Parameter #1 [ <required> int $m ]
Parameter #2 [ <required> int $n ]
}
@@ -3088,41 +3257,6 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
}
- Return [ Tensor\Matrix ]
}
-
- Method [ <internal:tensor> static public method minimum ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> Tensor\Matrix $a ]
- Parameter #1 [ <required> Tensor\Matrix $b ]
- }
- - Return [ Tensor\Matrix ]
- }
-
- Method [ <internal:tensor> static public method maximum ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> Tensor\Matrix $a ]
- Parameter #1 [ <required> Tensor\Matrix $b ]
- }
- - Return [ Tensor\Matrix ]
- }
-
- Method [ <internal:tensor> static public method stack ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> array $vectors ]
- }
- - Return [ Tensor\Matrix ]
- }
-
- Method [ <internal:tensor> static protected method implodeRow ] {
-
- - Parameters [2] {
- Parameter #0 [ <required> string $carry ]
- Parameter #1 [ <required> array $row ]
- }
- - Return [ string ]
- }
}
- Properties [3] {
@@ -3131,7 +3265,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Property [ <default> protected $n ]
}
- - Methods [150] {
+ - Methods [141] {
Method [ <internal:tensor, ctor> public method __construct ] {
- Parameters [2] {
@@ -3147,7 +3281,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ array ]
}
- Method [ <internal:tensor, prototype Tensor\Tensor> public method shapeString ] {
+ Method [ <internal:tensor, prototype Tensor\ArrayLike> public method shapeString ] {
- Parameters [0] {
}
@@ -3182,14 +3316,6 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ int ]
}
- Method [ <internal:tensor> public method row ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> int $index ]
- }
- - Return [ array ]
- }
-
Method [ <internal:tensor> public method rowAsVector ] {
- Parameters [1] {
@@ -3198,14 +3324,6 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor> public method column ] {
-
- - Parameters [1] {
- Parameter #0 [ <required> int $index ]
- }
- - Return [ array ]
- }
-
Method [ <internal:tensor> public method columnAsVector ] {
- Parameters [1] {
@@ -3249,21 +3367,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Vector ]
}
- Method [ <internal:tensor> public method argmin ] {
-
- - Parameters [0] {
- }
- - Return [ Tensor\ColumnVector ]
- }
-
- Method [ <internal:tensor> public method argmax ] {
-
- - Parameters [0] {
- }
- - Return [ Tensor\ColumnVector ]
- }
-
- Method [ <internal:tensor, prototype Tensor\Tensor> public method map ] {
+ Method [ <internal:tensor, prototype Tensor\ArrayLike> public method map ] {
- Parameters [1] {
Parameter #0 [ <required> $callback ]
@@ -3271,15 +3375,16 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Tensor> public method reduce ] {
+ Method [ <internal:tensor, prototype Tensor\ArrayLike> public method reduce ] {
- Parameters [2] {
Parameter #0 [ <required> $callback ]
- Parameter #1 [ <optional> $initial ]
+ Parameter #1 [ <optional> float $initial ]
}
+ - Return [ float ]
}
- Method [ <internal:tensor, prototype Tensor\Tensor> public method transpose ] {
+ Method [ <internal:tensor> public method transpose ] {
- Parameters [0] {
}
@@ -3301,37 +3406,34 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
}
Method [ <internal:tensor> public method det ] {
- }
-
- Method [ <internal:tensor> public method rank ] {
- Parameters [0] {
}
- - Return [ int ]
+ - Return [ float ]
}
- Method [ <internal:tensor> public method fullRank ] {
+ Method [ <internal:tensor> public method trace ] {
- Parameters [0] {
}
- - Return [ bool ]
+ - Return [ float ]
}
- Method [ <internal:tensor> public method symmetric ] {
+ Method [ <internal:tensor> public method rank ] {
- Parameters [0] {
}
- - Return [ bool ]
+ - Return [ int ]
}
- Method [ <internal:tensor> public method positiveDefinite ] {
+ Method [ <internal:tensor> public method fullRank ] {
- Parameters [0] {
}
- Return [ bool ]
}
- Method [ <internal:tensor> public method positiveSemidefinite ] {
+ Method [ <internal:tensor> public method symmetric ] {
- Parameters [0] {
}
@@ -3406,24 +3508,32 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Decompositions\Svd ]
}
- Method [ <internal:tensor> public method solve ] {
+ Method [ <internal:tensor> public method l1Norm ] {
- - Parameters [1] {
- Parameter #0 [ <required> Tensor\Vector $b ]
+ - Parameters [0] {
}
- - Return [ Tensor\ColumnVector ]
- }
-
- Method [ <internal:tensor> public method l1Norm ] {
+ - Return [ float ]
}
Method [ <internal:tensor> public method l2Norm ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
Method [ <internal:tensor> public method infinityNorm ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
Method [ <internal:tensor> public method maxNorm ] {
+
+ - Parameters [0] {
+ }
+ - Return [ float ]
}
Method [ <internal:tensor, prototype Tensor\Arithmetic> public method multiply ] {
@@ -3517,42 +3627,42 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method abs ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method abs ] {
- Parameters [0] {
}
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method square ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method square ] {
- Parameters [0] {
}
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method sqrt ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method sqrt ] {
- Parameters [0] {
}
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method exp ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method exp ] {
- Parameters [0] {
}
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method expm1 ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method expm1 ] {
- Parameters [0] {
}
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method log ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method log ] {
- Parameters [1] {
Parameter #0 [ <optional> float $base ]
@@ -3560,7 +3670,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method log1p ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method log1p ] {
- Parameters [0] {
}
@@ -3623,28 +3733,28 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method sum ] {
+ Method [ <internal:tensor, prototype Tensor\Special> public method sum ] {
- Parameters [0] {
}
- Return [ Tensor\ColumnVector ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method product ] {
+ Method [ <internal:tensor, prototype Tensor\Special> public method product ] {
- Parameters [0] {
}
- Return [ Tensor\ColumnVector ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method min ] {
+ Method [ <internal:tensor, prototype Tensor\Special> public method min ] {
- Parameters [0] {
}
- Return [ Tensor\ColumnVector ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method max ] {
+ Method [ <internal:tensor, prototype Tensor\Special> public method max ] {
- Parameters [0] {
}
@@ -3689,7 +3799,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method round ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method round ] {
- Parameters [1] {
Parameter #0 [ <optional> int $precision ]
@@ -3697,21 +3807,21 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method floor ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method floor ] {
- Parameters [0] {
}
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method ceil ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method ceil ] {
- Parameters [0] {
}
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Tensor> public method clip ] {
+ Method [ <internal:tensor, prototype Tensor\Special> public method clip ] {
- Parameters [2] {
Parameter #0 [ <required> float $min ]
@@ -3720,7 +3830,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Tensor> public method clipLower ] {
+ Method [ <internal:tensor, prototype Tensor\Special> public method clipLower ] {
- Parameters [1] {
Parameter #0 [ <required> float $min ]
@@ -3728,7 +3838,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Tensor> public method clipUpper ] {
+ Method [ <internal:tensor, prototype Tensor\Special> public method clipUpper ] {
- Parameters [1] {
Parameter #0 [ <required> float $max ]
@@ -3736,41 +3846,20 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method sign ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method sign ] {
- Parameters [0] {
}
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor, prototype Tensor\Functional> public method negate ] {
+ Method [ <internal:tensor, prototype Tensor\Algebraic> public method negate ] {
- Parameters [0] {
}
- Return [ Tensor\Matrix ]
}
- Method [ <internal:tensor> public method insert ] {
-
- - Parameters [3] {
- Parameter #0 [ <required> Tensor\Matrix $b ]
- Parameter #1 [ <required> int $rowOffset ]
- Parameter #2 [ <required> int $columnOffset ]
- }
- - Return [ Tensor\Matrix ]
- }
-
- Method [ <internal:tensor> public method subMatrix ] {
-
- - Parameters [4] {
- Parameter #0 [ <required> int $startRow ]
- Parameter #1 [ <required> int $startColumn ]
- Parameter #2 [ <required> int $endRow ]
- Parameter #3 [ <required> int $endColumn ]
- }
- - Return [ Tensor\Matrix ]
- }
-
Method [ <internal:tensor> public method augmentAbove ] {
- Parameters [1] {
@@ -4103,7 +4192,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method multiplyScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Matrix ]
}
@@ -4111,7 +4200,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method divideScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Matrix ]
}
@@ -4119,7 +4208,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method addScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Matrix ]
}
@@ -4127,7 +4216,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method subtractScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Matrix ]
}
@@ -4135,7 +4224,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method powScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Matrix ]
}
@@ -4143,7 +4232,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method modScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Matrix ]
}
@@ -4151,7 +4240,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method equalScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Matrix ]
}
@@ -4159,7 +4248,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method notEqualScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Matrix ]
}
@@ -4167,7 +4256,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method greaterScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Matrix ]
}
@@ -4175,7 +4264,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method greaterEqualScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Matrix ]
}
@@ -4183,7 +4272,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method lessScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Matrix ]
}
@@ -4191,7 +4280,7 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor> public method lessEqualScalar ] {
- Parameters [1] {
- Parameter #0 [ <required> $b ]
+ Parameter #0 [ <required> float $b ]
}
- Return [ Tensor\Matrix ]
}
@@ -4238,13 +4327,6 @@ Extension [ <persistent> extension #102 tensor version 2.2.3 ] {
Method [ <internal:tensor, prototype IteratorAggregate> public method getIterator ] {
}
-
- Method [ <internal:tensor, prototype Tensor\Tensor> public method __toString ] {
-
- - Parameters [0] {
- }
- - Return [ string ]
- }
}
}
diff --git a/php-pecl-tensor.spec b/php-pecl-tensor.spec
index e1718df..887ebd2 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.2.3
+%global upstream_version 3.0.0
#global upstream_prever alpha2
Summary: Objects for scientific computing in PHP
@@ -32,7 +32,7 @@ Patch1: tensor-libs.patch
BuildRequires: make
BuildRequires: %{?dtsprefix}gcc
-BuildRequires: %{?scl_prefix}php-devel >= 7.2
+BuildRequires: %{?scl_prefix}php-devel >= 7.4
BuildRequires: %{?scl_prefix}php-pear
BuildRequires: %{?scl_prefix}php-json
BuildRequires: openblas-devel
@@ -52,12 +52,8 @@ Provides: %{?scl_prefix}php-pecl-%{pecl_name}%{?_isa} = %{version}-%{rele
%if "%{?packager}" == "Remi Collet" && 0%{!?scl:1} && 0%{?rhel}
# Other third party repo stuff
-%if "%{php_version}" > "8.0"
Obsoletes: php73-pecl-%{pecl_name} <= %{version}
-%endif
-%if "%{php_version}" > "8.0"
Obsoletes: php74-pecl-%{pecl_name} <= %{version}
-%endif
%if "%{php_version}" > "8.0"
Obsoletes: php80-pecl-%{pecl_name} <= %{version}
%endif
@@ -204,6 +200,10 @@ fi
%changelog
+* Tue May 25 2021 Remi Collet <remi@remirepo.net> - 3.0.0-1
+- update to 3.0.0 (beta)
+- raise dependency on PHP 7.4
+
* Tue May 25 2021 Remi Collet <remi@remirepo.net> - 2.2.3-1
- update to 2.2.3
diff --git a/tensor-libs.patch b/tensor-libs.patch
index 319fb0f..c7855cf 100644
--- a/tensor-libs.patch
+++ b/tensor-libs.patch
@@ -12,4 +12,4 @@ index 2b130c0..90b7e1c 100644
+ PHP_EVAL_LIBLINE(-lopenblas, TENSOR_SHARED_LIBADD)
AC_DEFINE(HAVE_TENSOR, 1, [Whether you have Tensor])
- tensor_sources="tensor.c kernel/main.c kernel/memory.c kernel/exception.c kernel/debug.c kernel/backtrace.c kernel/object.c kernel/array.c kernel/string.c kernel/fcall.c kernel/require.c kernel/file.c kernel/operators.c kernel/math.c kernel/concat.c kernel/variables.c kernel/filter.c kernel/iterator.c kernel/time.c kernel/exit.c tensor/arithmetic.zep.c
+ tensor_sources="tensor.c kernel/main.c kernel/memory.c kernel/exception.c kernel/debug.c kernel/backtrace.c kernel/object.c kernel/array.c kernel/string.c kernel/fcall.c kernel/require.c kernel/file.c kernel/operators.c kernel/math.c kernel/concat.c kernel/variables.c kernel/filter.c kernel/iterator.c kernel/time.c kernel/exit.c tensor/algebraic.zep.c