cr.sparse.lop.rademacher_dict

cr.sparse.lop.rademacher_dict(key, m, n=None, normalize_atoms=True, axis=0)[source]

An operator which represents a Rademacher sensing matrix

Parameters
  • key – a PRNG key used as the random key.

  • m (int) – Number of rows of the sensing matrix

  • n (int) – Number of columns of the sensing matrix

  • normalize_atoms (bool) – Whether the columns of sensing matrix are normalized (default True)

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

Returns

A linear operator wrapping the sensing matrix

Return type

Operator

Examples