From b2ab23773ac62a8677266021125f3339024806a8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 1 Mar 2021 06:47:18 +0100 Subject: update to 2.2.0 --- REFLECTION | 309 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 303 insertions(+), 6 deletions(-) (limited to 'REFLECTION') diff --git a/REFLECTION b/REFLECTION index b4d468c..127cd1a 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,9 +1,9 @@ -Extension [ extension #105 tensor version 2.1.4 ] { +Extension [ extension #104 tensor version 2.2.0 ] { - Dependencies { } - - Classes [16] { + - Classes [21] { Interface [ interface Tensor\Arithmetic ] { - Constants [0] { @@ -352,6 +352,47 @@ Extension [ extension #105 tensor version 2.1.4 ] { } } + Interface [ interface Tensor\Exceptions\TensorException extends Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [0] { + } + + - Methods [8] { + Method [ abstract public method getMessage ] { + } + + Method [ abstract public method getCode ] { + } + + Method [ abstract public method getFile ] { + } + + Method [ abstract public method getLine ] { + } + + Method [ abstract public method getTrace ] { + } + + Method [ abstract public method getPrevious ] { + } + + Method [ abstract public method getTraceAsString ] { + } + + Method [ abstract public method __toString ] { + } + } + } + Interface [ interface Tensor\Tensor extends Tensor\ArrayLike, Countable, Traversable, IteratorAggregate, ArrayAccess, Tensor\Arithmetic, Tensor\Comparable, Tensor\Functional, Tensor\Trigonometric, Tensor\Statistical ] { - Constants [4] { @@ -670,6 +711,63 @@ Extension [ extension #105 tensor version 2.1.4 ] { } } + Class [ class Tensor\Exceptions\InvalidArgumentException extends InvalidArgumentException implements Throwable, Tensor\Exceptions\TensorException ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + Class [ class Tensor\Vector implements Tensor\Tensor, Tensor\Statistical, Tensor\Trigonometric, Tensor\Functional, Tensor\Comparable, Tensor\Arithmetic, ArrayAccess, IteratorAggregate, Traversable, Countable, Tensor\ArrayLike ] { - Constants [4] { @@ -2603,7 +2701,7 @@ Extension [ extension #105 tensor version 2.1.4 ] { - Parameters [2] { Parameter #0 [ Tensor\Matrix $a ] - Parameter #1 [ bool $normalize ] + Parameter #1 [ bool $symmetric ] } - Return [ Tensor\Decompositions\Eigen ] } @@ -2627,7 +2725,7 @@ Extension [ extension #105 tensor version 2.1.4 ] { - Parameters [0] { } - - Return [ Tensor\Matrix ] + - Return [ array ] } Method [ public method eigenvectors ] { @@ -2696,6 +2794,191 @@ Extension [ extension #105 tensor version 2.1.4 ] { } } + Class [ class Tensor\Decompositions\Svd ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [1] { + Method [ static public method decompose ] { + + - Parameters [1] { + Parameter #0 [ Tensor\Matrix $a ] + } + - Return [ Tensor\Decompositions\Svd ] + } + } + + - Properties [3] { + Property [ protected $u ] + Property [ protected $singularValues ] + Property [ protected $vT ] + } + + - Methods [6] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ Tensor\Matrix $u ] + Parameter #1 [ array $singularValues ] + Parameter #2 [ Tensor\Matrix $vT ] + } + } + + Method [ public method u ] { + + - Parameters [0] { + } + - Return [ Tensor\Matrix ] + } + + Method [ public method singularValues ] { + + - Parameters [0] { + } + - Return [ array ] + } + + Method [ public method s ] { + + - Parameters [0] { + } + - Return [ Tensor\Matrix ] + } + + Method [ public method v ] { + + - Parameters [0] { + } + - Return [ Tensor\Matrix ] + } + + Method [ public method vT ] { + + - Parameters [0] { + } + - Return [ Tensor\Matrix ] + } + } + } + + Class [ class Tensor\Exceptions\DimensionalityMismatch extends Tensor\Exceptions\InvalidArgumentException implements Tensor\Exceptions\TensorException, Throwable ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + + Class [ class Tensor\Exceptions\RuntimeException extends RuntimeException implements Throwable, Tensor\Exceptions\TensorException ] { + + - Constants [0] { + } + + - Static properties [0] { + } + + - Static methods [0] { + } + + - Properties [4] { + Property [ protected $message ] + Property [ protected $code ] + Property [ protected $file ] + Property [ protected $line ] + } + + - Methods [10] { + Method [ public method __construct ] { + + - Parameters [3] { + Parameter #0 [ $message ] + Parameter #1 [ $code ] + Parameter #2 [ $previous ] + } + } + + Method [ public method __wakeup ] { + } + + Method [ final public method getMessage ] { + } + + Method [ final public method getCode ] { + } + + Method [ final public method getFile ] { + } + + Method [ final public method getLine ] { + } + + Method [ final public method getTrace ] { + } + + Method [ final public method getPrevious ] { + } + + Method [ final public method getTraceAsString ] { + } + + Method [ public method __toString ] { + } + } + } + Class [ class Tensor\Matrix implements Tensor\Tensor, Tensor\Statistical, Tensor\Trigonometric, Tensor\Functional, Tensor\Comparable, Tensor\Arithmetic, ArrayAccess, IteratorAggregate, Traversable, Countable, Tensor\ArrayLike ] { - Constants [4] { @@ -2848,7 +3131,7 @@ Extension [ extension #105 tensor version 2.1.4 ] { Property [ protected $n ] } - - Methods [148] { + - Methods [150] { Method [ public method __construct ] { - Parameters [2] { @@ -3010,6 +3293,13 @@ Extension [ extension #105 tensor version 2.1.4 ] { - Return [ Tensor\Matrix ] } + Method [ public method pseudoinverse ] { + + - Parameters [0] { + } + - Return [ Tensor\Matrix ] + } + Method [ public method det ] { } @@ -3104,11 +3394,18 @@ Extension [ extension #105 tensor version 2.1.4 ] { Method [ public method eig ] { - Parameters [1] { - Parameter #0 [ bool $normalize ] + Parameter #0 [ bool $symmetric ] } - Return [ Tensor\Decompositions\Eigen ] } + Method [ public method svd ] { + + - Parameters [0] { + } + - Return [ Tensor\Decompositions\Svd ] + } + Method [ public method solve ] { - Parameters [1] { -- cgit