@Override
    public TensorFunction<NAMETYPE> withArguments(List<TensorFunction<NAMETYPE>> arguments) {
        if ( arguments.size() != 2)
            throw new IllegalArgumentException("EuclideanDistance must have 2 arguments, got " + arguments.size());
        return new EuclideanDistance<>(arguments.get(0), arguments.get(1), dimension);
    }
Convenience for euclidean distance between vectors.
euclidean_distance(a, b, mydim) == sqrt(sum(pow(a-b, 2), mydim))
@author arnej
vespajlib/src/main/java/com/yahoo/tensor/functions/EuclideanDistance.java