Skip to content

Commit

Permalink
TST: Remove the oldmatrix multiplication operator.
Browse files Browse the repository at this point in the history
See #73, and compare commit 792b359 where it was just commented.
  • Loading branch information
aringh committed Nov 25, 2015
1 parent 478529e commit 6b2b884
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions test/operator/operator_test.py
Original file line number Diff line number Diff line change
@@ -184,28 +184,6 @@ def test_nonlinear_composition():
C = OperatorComp(Bop, Aop)


#class MultiplyOp(Operator):
#
# """Multiply with matrix.
# """
#
# def __init__(self, matrix, domain=None, range=None):
# domain = (odl.Rn(matrix.shape[1])
# if domain is None else domain)
# range = (odl.Rn(matrix.shape[0])
# if range is None else range)
# self.matrix = matrix
#
# super().__init__(domain, range, linear=True)
#
# def _apply(self, rhs, out):
# np.dot(self.matrix, rhs.data, out=out.data)
#
# @property
# def adjoint(self):
# return MultiplyOp(self.matrix.T, self.range, self.domain)


def test_linear_Op():
# Verify that the multiply op does indeed work as expected

0 comments on commit 6b2b884

Please sign in to comment.