Npymath complex: support for complex in basic arithmetic: negative, add, subtract, multiply and the divides

I think defining a custom mapping class (or an object which replaces itself) is overkill here. You could define an API function (get_ufunc_something()) that will do the lazy initialization as well as the lookup, with a regular dict underneath.