Replacing non-negative entries of a complex diagonal matrix with zeros

21 Views Asked by At

Let $\Lambda_r$ be a real-valued diagonal matrix containing negative elements. We can replace the negative elements with zeros this way $$\frac{\Lambda_r + \lvert \Lambda_r \rvert}{2}$$

Let $\Lambda_c$ be complex-valued diagonal. If at all possible, is there any equation similar to the above which will include $\lvert \Lambda_c \rvert$ in order to replace the negative entries (real entries that are negative) with zeros?