Advertisement

Vector

Last updated: September 30, 2021

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.

Advertisement

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.
Advertisement

Share this Term

  • Facebook
  • LinkedIn
  • Twitter

Related Reading

Tags

Software DevelopmentProgramming LanguagesC SharpDevOpsData

Trending Articles

Go back to top