.. _vectors-glossary: Glossary -------- vector: A named collection of values, where all the values have the same type, and each value is identified by an index. element: One of the values in a vector. The ``[]`` operator selects elements of a vector. index: An integer variable or value used to indicate an element of a vector. constructor: A special function that creates a new object and initializes its instance variables. .. tb-group:: :name: self_check .. tb-tab:: Q1 .. tb-match:: :name: glossary_1 Match the vocabulary word with its definition. vector A named collection of values, where all the values have the same type, and each value is identified by an index. element One of the values in a vector. index An integer variable or value used to indicate an element of a vector. constructor A special function that creates a new object and initializes its instance variables.