RealPart.inverse¶
-
property
RealPart.
inverse
¶ Return the (pseudo-)inverse.
Examples
The inverse is its own inverse if its domain is real:
>>> r3 = odl.rn(3) >>> op = RealPart(r3) >>> op.inverse(op([1, 2, 3])) rn(3).element([ 1., 2., 3.])
This is not a true inverse, only a pseudoinverse, the complex part will by necessity be lost.
>>> c3 = odl.cn(3) >>> op = RealPart(c3) >>> op.inverse(op([1 + 2j, 2, 3 - 1j])) cn(3).element([ 1.+0.j, 2.+0.j, 3.+0.j])