Skip to main content

block

Method of ComplexArray.

Overloads

NameDescription
block(const List<integer> start, const List<integer> shape) -> ComplexArrayGet a block (sub-ComplexArray) of the ComplexArray.
block(integer i, integer j, integer exti, integer extj) -> ComplexArrayGet a block (sub-ComplexArray) of the ComplexArray.

block(const List<integer> start, const List<integer> shape) -> ComplexArray

Get a block (sub-ComplexArray) of the ComplexArray.

Parameters

  • start: Start indices of the block
  • shape: Shape of the block

block(integer i, integer j, integer exti, integer extj) -> ComplexArray

Get a block (sub-ComplexArray) of the ComplexArray.

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.