Define abs and abs2 on vector<complex>.
Define logr on vector<complex>.