Complement and Dual of a Function