From 27d44227f6f4686a8378ed2a07e307d317517587 Mon Sep 17 00:00:00 2001 From: CismonX Date: Thu, 21 Feb 2019 18:49:25 +0800 Subject: [PATCH] update stubs --- stubs/Colvec.php | 4 +--- stubs/Mat.php | 2 +- stubs/Rowvec.php | 2 +- stubs/SpMat.php | 2 +- stubs/Vec.php | 8 ++++++++ stubs/impl/DColvec.php | 2 -- stubs/internal/Operable.php | 2 +- stubs/internal/VecBase.php | 8 ++++++++ 8 files changed, 21 insertions(+), 9 deletions(-) create mode 100644 stubs/Vec.php create mode 100644 stubs/internal/VecBase.php diff --git a/stubs/Colvec.php b/stubs/Colvec.php index c35b886..bd84850 100644 --- a/stubs/Colvec.php +++ b/stubs/Colvec.php @@ -2,9 +2,7 @@ namespace Arma; -interface Colvec extends Internal\Operable +interface Colvec extends Vec { } - -class_alias(Colvec::class, 'Arma\\Vec'); diff --git a/stubs/Mat.php b/stubs/Mat.php index 909c218..33a61b4 100644 --- a/stubs/Mat.php +++ b/stubs/Mat.php @@ -7,7 +7,7 @@ namespace Arma; * * @package Arma */ -interface Mat extends Internal\Operable +interface Mat extends Internal\Accessible, Internal\Operable, Internal\MatBase { /** * Construct the matrix to have user specified dimensions and fill with specified pattern. diff --git a/stubs/Rowvec.php b/stubs/Rowvec.php index 1133c8c..e429fc2 100644 --- a/stubs/Rowvec.php +++ b/stubs/Rowvec.php @@ -2,7 +2,7 @@ namespace Arma; -interface Rowvec extends Internal\Operable +interface Rowvec extends Vec { } diff --git a/stubs/SpMat.php b/stubs/SpMat.php index f85f2ea..e3a674f 100644 --- a/stubs/SpMat.php +++ b/stubs/SpMat.php @@ -2,7 +2,7 @@ namespace Arma; -interface SpMat extends Internal\Accessible +interface SpMat extends Internal\Accessible, Internal\MatBase { } diff --git a/stubs/Vec.php b/stubs/Vec.php new file mode 100644 index 0000000..f9dfa2b --- /dev/null +++ b/stubs/Vec.php @@ -0,0 +1,8 @@ +