implemented (ir? ComplexI : 0) inside of ComplexVecfun