The generalized Hartley transform