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.


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.


Related Terms

Latest DevOps Terms

Related Reading

Margaret Rouse

Margaret Rouse is an award-winning technical writer and teacher known for her ability to explain complex technical subjects to a non-technical, business audience. Over the past twenty years her explanations have appeared on TechTarget websites and she's been cited as an authority in articles by the New York Times, Time Magazine, USA Today, ZDNet, PC Magazine and Discovery Magazine.Margaret's idea of a fun day is helping IT and business professionals learn to speak each other’s highly specialized languages. If you have a suggestion for a new definition or how to improve a technical explanation, please email Margaret or contact her…