Fragmentation functions for gluon into Bc or $$ {B}_c^{\ast } $$ meson