I have a formula that contains $\log (I + e^{X})$ term where $X$ is an $N$ dimensional vector ($x_0, x_1, ..., x_{N-1}$) and $I$ is the unity vector. I don't know how the exponentiation and log operations are defined in the case of vector. How to express this formula in terms of individual components of $X$?
Is $$e^X = [e^{x_0},e^{x_1},...,e^{x_{n-1}}]$$
and
$$\log(V) = [\log(v_0), \log(v_1), ..., \log(v_{N-1})]$$
?
If $A$ is a matrix, you can use the Taylor formula: for example, $$\exp(A)=\sum_{k=0}^{\infty}\dfrac{A^k}{k!}$$ If $A$ is a $N$ dimensional vector you have: $f(A)=\left[f(A_1),f(A_2,...f(A_N)\right]$