cr.sparse.lop.scalar_mult

cr.sparse.lop.scalar_mult(alpha, n)[source]

Returns a linear operator T such that \(T v = \alpha v\)

Parameters
  • alpha (float) – A scalar value

  • n (int) – The dimension of model/data space

Returns

A linear operator wrapping the scalar multiplication

Return type

Operator