@Override
    public TensorFunction<NAMETYPE> withArguments(List<TensorFunction<NAMETYPE>> arguments) {
        if ( arguments.size() != 1)
            throw new IllegalArgumentException("CellOrder must have 1 argument, got " + arguments.size());
        return new CellOrder<>(arguments.get(0), order);
    }
The <i>cell_order</i> tensor function produces a tensor with the rank of each
value in the original tensor according to the given ordering

@author arnej
vespajlib/src/main/java/com/yahoo/tensor/functions/CellOrder.java