The easiest way would be to do an LU-decomposition as described here. I would suggest using LAPACK for this task...
This article has some code in C
doing that for a real-valued symmetric matrix, so you need to exchange dspsv
by zspsv
to handle double-precision complex matrices.