linop.block#
- bartorch.linop.block()#
Block matrix of operators.
Each row is
hstack()-ed and the rows areconcatenate()-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:
- Raises:
ValueError – When
rowsis empty or ragged.