A function $f: \R ^n \to \R $ is called a real affine transformation (or affine transformation) if it maps an affine combination of two vectors to the affine combination of their results (with the same coefficients).