wrote * operations for function class. Interestingly, I can set function a = b, probably because vector< complex<double> > supports this operation