Skip to content

Commit

Permalink
Merge pull request #1561 from artpelling/docstring-fix
Browse files Browse the repository at this point in the history
add spmatrix to docstring of `NumpyMatrixOperator`
  • Loading branch information
renefritze committed Feb 9, 2022
2 parents efa31a9 + 478291c commit d69e1be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pymor/operators/numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,12 +164,12 @@ def export_matrix(self, filename, matrix_name=None, output_format='matlab', mu=N


class NumpyMatrixOperator(NumpyMatrixBasedOperator):
"""Wraps a 2D |NumPy Array| as an |Operator|.
"""Wraps a 2D |NumPy Array| or |SciPy spmatrix| as an |Operator|.
Parameters
----------
matrix
The |NumPy array| which is to be wrapped.
The |NumPy array| or |SciPy spmatrix| which is to be wrapped.
source_id
The id of the operator's `source` |VectorSpace|.
range_id
Expand Down

0 comments on commit d69e1be

Please sign in to comment.