@classmethod
def range(Class, length):
    """
        Create a range vector.

        :param length: the required length
        :type length: a positive integer
        :returns: ``[0, 1, ..., length - 1]``
        :rtype: a vector of the specified length
        :raises: :class:`AssertionError` if `length` is not positive

        .. seealso::
            :attr:`tensors.tensor.Tensor.shape`
        """
    raise NotImplementedError
