Skip to content
GitLab
Menu
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
48780958
Commit
48780958
authored
May 06, 2019
by
Lukas Platz
Browse files
polish docstring a bit more
parent
10c91f2e
Pipeline
#47800
passed with stages
in 8 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty5/operators/simple_linear_operators.py
View file @
48780958
...
...
@@ -352,11 +352,11 @@ class MatrixProductOperator(EndomorphicOperator):
Parameters
----------
domain: Domain or DomainTuple
domain:
:class:`
Domain
`
or
:class:`
DomainTuple
`
Domain of the operator.
If DomainTuple it is assumed to have only one entry.
If
:class:`
DomainTuple
`
it is assumed to have only one entry.
matrix: scipy.sparse matrix or numpy array
Matrix of shape
(field
.shape,
field
.shape). Needs to support
Matrix of shape
`(domain
.shape,
domain
.shape)
`
. Needs to support
`dot()` and `transpose()` in the style of numpy arrays.
"""
def
__init__
(
self
,
domain
,
matrix
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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