In mathematics, a convex space (or barycentric algebra) is a space in which it is possible to take convex combinations of any sets of points.[1][2]