oputils

Convenience functions for operators.

Functions

as_scipy_functional(func[, return_gradient])

Wrap op as a function operating on linear arrays.

as_scipy_operator(op)

Wrap op as a scipy.sparse.linalg.LinearOperator.

matrix_representation(op)

Return a matrix representation of a linear operator.

power_method_opnorm(op[, xstart, maxiter, …])

Estimate the operator norm with the power method.