Commit 48780958 authored by Lukas Platz's avatar Lukas Platz
Browse files

polish docstring a bit more

parent 10c91f2e
Pipeline #47800 passed with stages
in 8 minutes and 12 seconds
......@@ -352,11 +352,11 @@ class MatrixProductOperator(EndomorphicOperator):
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):
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