ImagPart.inverse

property ImagPart.inverse

Return the pseudoinverse.

Examples

The inverse is the zero operator if the domain is real:

>>> r3 = odl.rn(3)
>>> op = ImagPart(r3)
>>> op.inverse(op([1, 2, 3]))
rn(3).element([ 0.,  0.,  0.])

This is not a true inverse, only a pseudoinverse, the real part will by necessity be lost.

>>> c3 = odl.cn(3)
>>> op = ImagPart(c3)
>>> op.inverse(op([1 + 2j, 2, 3 - 1j]))
cn(3).element([ 0.+2.j,  0.+0.j, -0.-1.j])