} else if ("integer".equals(mode)) {
return new IntArrayVector(new int[length]);
} else if ("numeric".equals(mode) || "double".equals(mode)) {
return new ConstantDoubleVector(0, length);
} else if ("complex".equals(mode)) {
throw new UnsupportedOperationException("implement me!");
} else if ("character".equals(mode)) {