linop.Reshape

Contents

linop.Reshape#

class bartorch.linop.Reshape#

Bases: LinearOperator

Reshape, BART’s linop_reshape.

The identity on the buffer, C order; both shapes hold the same number of elements.

Parameters:
  • oshape (tuple of int) – Codomain and domain, C order.

  • ishape (tuple of int) – Codomain and domain, C order.

Also has the methods and properties of LinearOperator.