code: function newVector(array, dtype) {
    validateDtype(dtype);
    var proto = PROTO_MAP[dtype];
    var vector = Object.create(proto);
    vector._init(array);
    return vector;
  }
docs: Constructs a vector of the given dtype backed by the given array without checking or modifying any of the array elements