linop.hstack

Contents

linop.hstack#

bartorch.linop.hstack()#

Split the input between the operators along axis and sum the outputs.

[A B] @ [x; y] = A x + B y; pylops’ HStack. Built as concatenate([op.H for op in ops], axis).H.

Parameters:
  • ops (sequence of LinearOperator) – At least one, with a common codomain and domains equal except along axis.

  • axis (int, default=0) – Domain axis the input is split along.

Return type:

LinearOperator