alt=From left to right: a point (marked 0), a line (marked 1), a triangle (marked 2), and a tetrahedron (marked 3).|thumb|The four simplexes that can be fully represented in 3D space.
alt=From left to right: a point (marked 0), a line (marked 1), a triangle (marked 2), and a tetrahedron (marked 3).|thumb|The four simplexes that can be fully represented in 3D space.
In geometry, a simplex (plural: simplexes or simplices) is a generalization of the notion of a triangle or tetrahedron to arbitrary dimensions. The simplex is so-named because it represents the simplest possible polytope in any given dimension. For example, a 0-dimensional simplex is a point, a 1-dimensional simplex is a line segment, a 2-dimensional simplex is a triangle, a 3-dimensional simplex is a tetrahedron, and a 4-dimensional simplex is a 5-cell.
Discovered by embedding cosine similarity (sentence-transformers MiniLM, 384-dim).