Real and imaginary parts of matrix and vector