linop.block

Contents

linop.block#

bartorch.linop.block()#

Block matrix of operators.

Each row is hstack()-ed and the rows are concatenate()-d. Operators in a row share a codomain; operators in a column share a domain.

Parameters:
  • rows (sequence of sequence of LinearOperator) – The blocks, row by row, every row the same length.

  • axis (int, default=0) – Axis split in the domain and concatenated in the codomain.

Return type:

LinearOperator

Raises:

ValueError – When rows is empty or ragged.