From fe14e900a230ec2ac404c5e71f98f13f0f447b6a Mon Sep 17 00:00:00 2001 From: CismonX Date: Tue, 12 Mar 2019 18:14:12 +0800 Subject: [PATCH] update stubs --- stubs/Col.php | 2 +- stubs/Mat.php | 4 ++-- stubs/Row.php | 2 +- stubs/SpCol.php | 8 +++++++ stubs/SpRow.php | 8 +++++++ stubs/impl/SpCxDCol.php | 8 +++++++ stubs/impl/SpCxDRow.php | 8 +++++++ stubs/impl/SpDCol.php | 8 +++++++ stubs/impl/SpDRow.php | 8 +++++++ stubs/impl/SpICol.php | 8 +++++++ stubs/impl/SpIRow.php | 8 +++++++ stubs/internal/DenseVector.php | 36 ++++++++++++++++++++++++++++++++ stubs/internal/Matrix.php | 8 +++---- stubs/internal/Vector.php | 38 +++++++--------------------------- 14 files changed, 115 insertions(+), 39 deletions(-) create mode 100644 stubs/SpCol.php create mode 100644 stubs/SpRow.php create mode 100644 stubs/impl/SpCxDCol.php create mode 100644 stubs/impl/SpCxDRow.php create mode 100644 stubs/impl/SpDCol.php create mode 100644 stubs/impl/SpDRow.php create mode 100644 stubs/impl/SpICol.php create mode 100644 stubs/impl/SpIRow.php create mode 100644 stubs/internal/DenseVector.php diff --git a/stubs/Col.php b/stubs/Col.php index bb6772a..c579a49 100644 --- a/stubs/Col.php +++ b/stubs/Col.php @@ -7,7 +7,7 @@ namespace Arma; * * @package Arma */ -interface Col extends Internal\Dense, Internal\Vector +interface Col extends Internal\DenseVector { } diff --git a/stubs/Mat.php b/stubs/Mat.php index 130a3a5..a268b13 100644 --- a/stubs/Mat.php +++ b/stubs/Mat.php @@ -12,8 +12,8 @@ interface Mat extends Internal\Dense, Internal\Matrix /** * Construct the matrix to have user specified dimensions and fill with specified pattern. * - * @param int $n_rows - * @param int $n_cols + * @param int $n_rows[optional] + * @param int $n_cols[optional] * @param int $fill[optional] * @return static */ diff --git a/stubs/Row.php b/stubs/Row.php index c5961b3..22077fe 100644 --- a/stubs/Row.php +++ b/stubs/Row.php @@ -7,7 +7,7 @@ namespace Arma; * * @package Arma */ -interface Row extends Internal\Dense, Internal\Vector +interface Row extends Internal\DenseVector { } diff --git a/stubs/SpCol.php b/stubs/SpCol.php new file mode 100644 index 0000000..334834e --- /dev/null +++ b/stubs/SpCol.php @@ -0,0 +1,8 @@ +