Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
65919ecd
Commit
65919ecd
authored
Jun 28, 2018
by
Christoph Lienhard
Browse files
Added docu for make() of ChainOperator
parent
db5ecf60
Changes
1
Hide whitespace changes
Inline
Side-by-side
nifty5/operators/chain_operator.py
View file @
65919ecd
...
...
@@ -94,6 +94,15 @@ class ChainOperator(LinearOperator):
@
staticmethod
def
make
(
ops
):
"""Build a ChainOperator (or something simpler if possible),
a sequence of concatenated LinearOperators.
Parameters
----------
ops: list of LinearOperator
Individual operators of the chain.
"""
ops
=
tuple
(
ops
)
if
len
(
ops
)
==
0
:
raise
ValueError
(
"ops is empty"
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment