ProductSpace.zero

ProductSpace.zero(self)[source]

Create the zero element of the product space.

The i-th component of the product space zero element is the zero element of the i-th space in the product.

Parameters
None
Returns
zeroProductSpaceElement

The zero element in the product space.

Examples

>>> r2, r3 = odl.rn(2), odl.rn(3)
>>> zero_2, zero_3 = r2.zero(), r3.zero()
>>> r2x3 = ProductSpace(r2, r3)
>>> zero_2x3 = r2x3.zero()
>>> zero_2 == zero_2x3[0]
True
>>> zero_3 == zero_2x3[1]
True