cr.sparse.lop.zero

cr.sparse.lop.zero(in_dim, out_dim=None, axis=0)[source]

Returns a linear operator which maps everything to 0 vector in data space

Parameters
  • in_dim (int) – Dimension of the model space

  • out_dim (int) – Dimension of the data space (default in_dim)

  • axis (int) – For multi-dimensional array input, the axis along which the linear operator will be applied

Returns

A zero linear operator

Return type

Operator