Don't miss an insight. Subscribe to Techopedia for free.

Subscribe
Advertisements

Vector

What Does Vector Mean?

A vector, in programming, is a type of array that is one dimensional. Vectors are a logical element in programming languages that are used for storing a sequence of data elements of the same basic type. Members of a vector are called components.

Advertisements

The major difference between and array and a vector is that the container size of a vector can be easily increased and decreased to complement different data storage types.

Techopedia Explains Vector

Vectors are used in many programming languages as data structure containers. They have a dynamic structure and provide programmers with the ability to allocate container size and memory space quickly. In this sense, vectors can be thought of as dynamic arrays.

Advertisements

Related Terms