I would like to apply the sigmoid (logistic) function:
$\sigma{(x)} = \frac{1}{1+e^{-x}}$
to a vector $\mathbb{R}^n$ or matrix $\mathbb{R}^{m × n}$.
And the question is how to write this function for vectors/matrices. I need it for a scientific publication.