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
d541b2ca
Commit
d541b2ca
authored
May 23, 2017
by
Theo Steininger
Browse files
Removed `_inverse_adjoint_times` from Operator classes.
parent
cf88ed2e
Pipeline
#12817
passed with stages
in 11 minutes and 8 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
nifty/operators/composed_operator/composed_operator.py
View file @
d541b2ca
...
...
@@ -131,9 +131,6 @@ class ComposedOperator(LinearOperator):
def
_adjoint_inverse_times
(
self
,
x
,
spaces
):
return
self
.
_times_helper
(
x
,
spaces
,
func
=
'adjoint_inverse_times'
)
def
_inverse_adjoint_times
(
self
,
x
,
spaces
):
return
self
.
_times_helper
(
x
,
spaces
,
func
=
'inverse_adjoint_times'
)
def
_times_helper
(
self
,
x
,
spaces
,
func
):
space_index
=
0
if
spaces
is
None
:
...
...
nifty/operators/invertible_operator_mixin/invertible_operator_mixin.py
View file @
d541b2ca
...
...
@@ -103,8 +103,3 @@ class InvertibleOperatorMixin(object):
b
=
x
,
x0
=
x0
)
return
result
#MR FIXME: why? shouldn't this be equivalent to the adjoint inverse?
def
_inverse_adjoint_times
(
self
,
x
,
spaces
):
raise
NotImplementedError
(
"no generic instance method 'inverse_adjoint_times'."
)
nifty/operators/linear_operator/linear_operator.py
View file @
d541b2ca
...
...
@@ -269,10 +269,6 @@ class LinearOperator(Loggable, object):
raise
NotImplementedError
(
"no generic instance method 'adjoint_inverse_times'."
)
def
_inverse_adjoint_times
(
self
,
x
,
spaces
):
raise
NotImplementedError
(
"no generic instance method 'inverse_adjoint_times'."
)
def
_check_input_compatibility
(
self
,
x
,
spaces
,
inverse
=
False
):
if
not
isinstance
(
x
,
Field
):
raise
ValueError
(
...
...
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