vec
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
“make me a vec of names”
Meant: a simple list of names
May be taken as: build a C++ std::vector<string> with memory preallocation
Say instead: “make me a plain list of names”
“vec should point north”
Meant: 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”
“check if the mosquito is a vec”
Meant: disease vector in biology
May be taken as: parse as vector data type or embedding lookup
Say instead: “check if the mosquito carries disease”
“store these in a vec”
Meant: 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++