Generalized juxtapolynomials with some applications