Before revision: Making things more generic, we can suggest that the function takes input as a 2-dimensional vector and outputs a one dimensional vector (scalar).
After revision: Making things more generic, we can suggest that the function takes input as a 2-dimensional vector and outputs a one-dimensional vector (scalar).