generator can create function with real matirx, vector, scalar arguments. Can't operate with long double and comlex arguets