cr.sparse.lop.reshape

cr.sparse.lop.reshape(in_shape, out_shape)[source]

Returns a linear operator which reshapes vectors from model space to data space

Parameters
  • in_shape (int) – Shape of vectors in the model space

  • out_shape (int) – Shape of vectors in the data space

Returns

A reshaping linear operator

Return type

(Operator)