A function which ensures that obj is a LinearOperator.
- If obj is a LinearOperator, this function does nothing.
- If obj is a (normal) Tensor, this function wraps it with a DenseLinearOperator.
A function which ensures that obj is a (normal) Tensor.
- If obj is a Tensor, this function does nothing.
- If obj is a LinearOperator, this function evaluates it.