OUTLINE Introduction The setting: a vector space over a field with a partial order A Convex set is the same as an order-convex set A convex function defined in terms of a convex set A convex function in terms of order-convexity Convex sets and convex functions in machine learning Convex Optimization Software Libraries SUMMARY: We define a convex set in a general framework of a vector space over a field with a partial order, and we show how the general notion is related to the usual notion of a convex set. Then we define a convex function in terms of that general notion of a convex set, and…