Scalar-Valued Functions, Linear Maps, and Matrices