Consider a real positive semi-definite matrix $M$, it is known that there exists a unique real positive semi-definite matrix $S$ such that $S^2=M$ and there is also a unique real lower-triangular matrix $C$ with non-negative diagonal such that $CC^*=M$.
Can we conclude that $C$ and $M$ coincide in the diagonal? It seems to be true for all the matrices I have tried.