Open
Description
Many LinOps have tests for scalar multiplication, i.e., that a * (H @ x) = (a * H) @ x. Right now, this involves code duplication, e.g.,
scico/scico/test/linop/test_circconv.py
Lines 74 to 87 in 1a66887
scico/scico/test/linop/test_diag.py
Lines 146 to 158 in 1a66887
Can we create a standard function to test scaling (and other similar LinOp properties) rather than copy/pasting variants of this?