# vec (5-vec.us) People say "vec" when they mean a vector: an arrow with direction and size, a list of numbers, or a disease carrier like a mosquito. It is a quick, casual way to say any of these. ## What a model may hear - C++ vector container (C++ standard library): Assume the user wants a dynamic array with push_back, capacity management, or random access - SIMD vector register (processor architecture, compiler design): Generate single-instruction multiple-data operations or assume hardware vectorization - word embedding vector (machine learning, NLP): Treat input as a dense numerical representation for similarity search or model input - graphics vector (game engines, shaders, linear algebra): Apply 3D/4D math operations, normalization, cross products, or GPU buffer logic ## Where people and models part ways - Says: "make me a vec of names" Means: a simple list of names May be taken as: build a C++ std::vector with memory preallocation Say instead: "make me a plain list of names" - Says: "vec should point north" Means: an arrow direction May be taken as: normalize a 3D unit vector or set a SIMD register Say instead: "the arrow should point north as a direction vector" - Says: "check if the mosquito is a vec" Means: disease vector in biology May be taken as: parse as vector data type or embedding lookup Say instead: "check if the mosquito carries disease" - Says: "store these in a vec" Means: keep numbers together May be taken as: choose fixed-size array, dynamic array, or tensor without asking Say instead: "store these numbers in a simple one-dimensional list" ## Tips - Say 'list' if you do not need math or memory layout specifics - Say 'C++ vector' or 'std::vector' if you want that container - Say 'embedding' or 'word vector' for ML representations - Say 'arrow' or 'direction' for geometry to avoid container assumptions - Specify 'dynamic array' or 'resizable array' when you need growth behavior ## Often confused with - vector: full word, less likely to trigger C++ specifically - array: fixed size in many languages, no automatic growth - tensor: multi-dimensional, used in deep learning frameworks - list: often linked or ordered, not necessarily contiguous memory - matrix: two-dimensional, not one-dimensional - arraylist: Java-specific resizable array, not C++