apply transformation and result is pre-allocated @param x size n * d_in @param xt size n * d_out
See Implementation
apply transformation and result is pre-allocated @param x size n * d_in @param xt size n * d_out