@Override
    public TensorFunction<NAMETYPE> withArguments(List<TensorFunction<NAMETYPE>> arguments) {
        if ( arguments.size() != 0)
            throw new IllegalArgumentException("Range must have 0 arguments, got " + arguments.size());
        return this;
    }
A tensor generator which returns a tensor of any dimension filled with the sum of the tensor
indexes of each position.

@author bratseth
vespajlib/src/main/java/com/yahoo/tensor/functions/Range.java