In your desired function, what is the domain? It looks like it should be four dimensional, corresponding to vectors in xym and xyt. You seem to have something one dimensional in mind and I do not know what it corresponds to.
xym
xyt