block
Method of RealSparseMatrix.
Overloads
| Name | Description |
|---|---|
block(const List<integer> start, const List<integer> shape) -> RealSparseMatrix | Get a block (sub-RealSparseMatrix) of the RealSparseMatrix. |
block(integer i, integer j, integer exti, integer extj) -> RealSparseMatrix | Get a block (sub-RealSparseMatrix) of the RealSparseMatrix. |
block(const List<integer> start, const List<integer> shape) -> RealSparseMatrix
Get a block (sub-RealSparseMatrix) of the RealSparseMatrix.
Parameters
- start: Start indices of the block
- shape: Shape of the block
block(integer i, integer j, integer exti, integer extj) -> RealSparseMatrix
Get a block (sub-RealSparseMatrix) of the RealSparseMatrix.
Parameters
- i: The row to start from (zero-based).
- j: The column to start from (zero-based).
- exti: The number of rows in the block.
- extj: The number of columns in the block.