linop.block_diag#
- bartorch.linop.block_diag()#
Block-diagonal operator over
ops.Each operator maps its own part of the input to its own part of the output. BART’s
linop_stack, folded over the sequence.- Parameters:
ops (sequence of LinearOperator) – At least one. Domains must agree except along
domain_axisand codomains except alongaxis.axis (int, default=0) – Codomain axis the outputs are concatenated along.
domain_axis (int, default=None) – Domain axis the inputs are concatenated along;
Nonetakesaxis.
- Return type: