$rows
$rows : int
The number of rows in the matrix
Matrix object.
$rows : int
The number of rows in the matrix
$columns : int
The number of columns in the matrix
getRows(int $row, int $rowCount = 1) : static
Return a new matrix as a subset of rows from this matrix, starting at row number $row, and $rowCount rows A $rowCount value of 0 will return all rows of the matrix from $row A negative $rowCount value will return rows until that many rows from the end of the matrix
Note that row numbers start from 1, not from 0
int | $row | |
int | $rowCount |
getColumns(int $column, int $columnCount = 1) : \Matrix\Matrix
Return a new matrix as a subset of columns from this matrix, starting at column number $column, and $columnCount columns A $columnCount value of 0 will return all columns of the matrix from $column A negative $columnCount value will return columns until that many columns from the end of the matrix
Note that column numbers start from 1, not from 0
int | $column | |
int | $columnCount |
dropRows(int $row, int $rowCount = 1) : static
Return a new matrix as a subset of rows from this matrix, dropping rows starting at row number $row, and $rowCount rows A negative $rowCount value will drop rows until that many rows from the end of the matrix A $rowCount value of 0 will remove all rows of the matrix from $row
Note that row numbers start from 1, not from 0
int | $row | |
int | $rowCount |
dropColumns(int $column, int $columnCount = 1) : static
Return a new matrix as a subset of columns from this matrix, dropping columns starting at column number $column, and $columnCount columns A negative $columnCount value will drop columns until that many columns from the end of the matrix A $columnCount value of 0 will remove all columns of the matrix from $column
Note that column numbers start from 1, not from 0
int | $column | |
int | $columnCount |