TensorSpace.zero

TensorSpace.zero(self)[source]

Return a tensor of all zeros.

This method should be overridden by subclasses.

Returns
zeroTensor

A tensor of all zeros.