Skip to main content

block

Method of ComplexMatrix.

Overloads

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

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

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

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) -> ComplexMatrix

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

Parameters

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