ProductSpaceCustomInner

class odl.core.space.pspace.ProductSpaceCustomInner(inner)[source]

Bases: CustomInner

Class for handling a user-specified inner products.

__init__(inner)[source]

Initialize a new instance.

Parameters

innercallable

The inner product implementation. It must accept two ProductSpaceElement arguments, return a element from the field of the space (real or complex number) and satisfy the following conditions for all space elements x, y, z and scalars s:

  • <x, y> = conj(<y, x>)

  • <s*x + y, z> = s * <x, z> + <y, z>

  • <x, x> = 0 if and only if x = 0