block
Method of IntegerArray.
Overloads
| Name | Description |
|---|---|
block(integer i, integer j, integer exti, integer extj) -> IntegerArray | Get a block (sub-IntegerArray) of the IntegerArray. |
block(const List<integer> start, const List<integer> shape) -> IntegerArray | Get a block (sub-IntegerArray) of the IntegerArray. |
block(integer i, integer j, integer exti, integer extj) -> IntegerArray
Get a block (sub-IntegerArray) of the IntegerArray.
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.
block(const List<integer> start, const List<integer> shape) -> IntegerArray
Get a block (sub-IntegerArray) of the IntegerArray.
Parameters
- start: Start indices of the block
- shape: Shape of the block