Compact way to show function of $n$ variables

20 Views Asked by At

Consider the following simple function:

$$f(x_1,x_2,...,x_n)=\sum_{i=1}^{n}g(x_i)$$

What is the compact way to show $f(x_1,x_2,...,x_n)$? Can I use vector notation? something like $f(X)=f(x_1,x_2,...,x_n)$? Here $X=[x_1,x_2,...,x_n]$ is a vector of $n$ elements. Maybe this question is very simple, but I want to make sure to use the correct notation.