return compareVector(a.getVector(), o.getVector());
}
public static int compareVector(DoubleVector a, DoubleVector o) {
DoubleVector subtract = a.subtract(o);
return (int) subtract.sum();
}
public static VectorWritable wrap(DoubleVector a) {
return new VectorWritable(a);
}