The following question on a notation might look trivial but I am really not sure how to deal with it.
If I have a variable $x$, I could write out:
$$x=|x|\;\text {sgn} (x)$$
a notation that helps me with an operator for the signs that could point to $-1$, $0$ or $+1$.
But then I have a matrix $\bf X$ with elements $x_{i,j}$ while the equation above holds for each element $x_{i,j}$, simply
$$x_{i,j}=|x_{i,j}|\;\text {sgn} (x_{i,j})$$
How does the matrix notation for the equation above look like, in terms of a matrix of $\bf X$ (and not individual elements)?
In multidimensioned normed space (e.g. matrices, vectors...) you can define a generalisation of the "sign" by saying $$sg(x):=\frac{x}{\|x\|},\quad x\ne 0.$$ Then you will obtain that in a any matrix norm $$X=\|X\|\cdot sg(X).$$
Note, however, there's no widely accepted notation for applying a function to the matrix element-wise, so you're free to introduce your own.