Vector Glossary

Quick definitions for vector terminology across all domains.

ANN (Approximate Nearest Neighbor)

AI/ML

Search algorithm that trades perfect accuracy for speed, finding vectors that are "close enough" to the query vector.

Basis Vector

Math

A set of linearly independent vectors that span a vector space. In 2D, î and ĵ are standard basis vectors.

Bézier Curve

Graphics

A parametric curve defined by control points. Quadratic Béziers have 3 points, cubic have 4. Foundation of vector graphics.

Cosine Similarity

AI/ML

Similarity metric measuring the angle between two vectors, ranging from -1 (opposite) to 1 (identical). Ignores magnitude.

Cross Product

Math

Binary operation on 3D vectors producing a vector perpendicular to both inputs. Magnitude equals the parallelogram area.

Dot Product

Math

Scalar product of two vectors: A·B = |A||B|cos(θ). Zero when vectors are perpendicular.

Dimensionality Reduction

AI/ML

Techniques (PCA, t-SNE, UMAP) to reduce high-dimensional vectors to 2D/3D for visualization.

Embedding

AI/ML

Dense vector representation of data (text, images, etc.) where similar items have similar vectors.

Euclidean Distance

Math

Straight-line distance between two points: √(Σ(aᵢ-bᵢ)²). The L2 norm of the difference vector.

HNSW

AI/ML

Hierarchical Navigable Small World. A graph-based ANN index offering excellent query performance.

Linear Independence

Math

Vectors are linearly independent if no vector can be written as a combination of the others.

Magnitude

Math

Length of a vector: |v| = √(v₁² + v₂² + ... + vₙ²). Also called the norm or L2 norm.

Manhattan Distance

Math

Sum of absolute differences: Σ|aᵢ-bᵢ|. The L1 norm, like walking on a grid.

Normalization

Math

Scaling a vector to unit length (magnitude = 1) by dividing by its magnitude.

Path (SVG)

Graphics

SVG element using commands (M, L, C, etc.) to define complex shapes with lines and curves.

PCA (Principal Component Analysis)

AI/ML

Linear dimensionality reduction finding the directions of maximum variance in data.

RAG (Retrieval-Augmented Generation)

AI/ML

Technique combining vector search with LLMs to generate responses grounded in retrieved documents.

Raster Graphics

Graphics

Images stored as pixel grids (PNG, JPEG). Quality degrades when scaled up.

Semantic Search

AI/ML

Search by meaning rather than keywords, using embeddings to find conceptually similar content.

SVG (Scalable Vector Graphics)

Graphics

XML-based vector image format for the web. Scales infinitely, supports CSS styling and animation.

t-SNE

AI/ML

Non-linear dimensionality reduction excellent for visualization. Preserves local structure but slow.

Unit Vector

Math

Vector with magnitude 1. Obtained by dividing a vector by its magnitude.

UMAP

AI/ML

Uniform Manifold Approximation. Modern dimensionality reduction preserving both local and global structure.

Vector

Math

Mathematical object with magnitude and direction, represented as an ordered list of numbers.

Vector Database

AI/ML

Database optimized for storing and querying high-dimensional vectors using similarity search.

Vector Graphics

Graphics

Graphics defined by mathematical formulas (points, lines, curves) rather than pixels. Scale infinitely.

Vector Space

Math

Collection of vectors that can be added together and scaled, following specific axioms.

Viewbox

Graphics

SVG attribute defining the coordinate system and aspect ratio: viewBox="minX minY width height".

Word2Vec

AI/ML

Foundational word embedding technique where similar words have similar vectors. "king - man + woman ≈ queen".