Commit 65919ecd authored by Christoph Lienhard's avatar Christoph Lienhard
Browse files

Added docu for make() of ChainOperator

parent db5ecf60
......@@ -94,6 +94,15 @@ class ChainOperator(LinearOperator):
def make(ops):
"""Build a ChainOperator (or something simpler if possible),
a sequence of concatenated LinearOperators.
ops: list of LinearOperator
Individual operators of the chain.
ops = tuple(ops)
if len(ops) == 0:
raise ValueError("ops is empty")
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment