complex vector conversion