Make.Vectortype e = tval create : ?capacity:int -> ?growth_factor:float -> unit -> tCreate a vector with the given initial capacity and growth factor.
val capacity : t -> intReturns the current capacity of the given vector.
val ensure_capacity : t -> int -> unitEnsures that the vector has at least the given capacity.
val growth_factor : t -> floatReturns the growth factor of the given vector.
val set_growth_factor : t -> float -> unitSets the growth factor to the given value.
val length : t -> intReturns the length of the given vector.
val realloc : t -> int -> unitSets the capacity of the vector to the given size.
val clear : t -> unitRemoves all the elements in the vector.