Commit db5ecf60 authored by Christoph Lienhard's avatar Christoph Lienhard
Browse files

added docu for SumOperator make

parent 2824435b
......@@ -133,6 +133,16 @@ class SumOperator(LinearOperator):
@staticmethod
def make(ops, neg):
"""Build a SumOperator (or something simpler if possible)
Parameters
----------
ops: list of LinearOperator
Individual operators of the sum.
negs: list of bool
Same length as ops.
If True then the equivalent operator gets a minus in the sum.
"""
ops = tuple(ops)
neg = tuple(neg)
if len(ops) == 0:
......
Markdown is supported
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