NumpyTensorSpace.zero

NumpyTensorSpace.zero(self)[source]

Return a tensor of all zeros.

Examples

>>> space = odl.rn(3)
>>> x = space.zero()
>>> x
rn(3).element([ 0.,  0.,  0.])