It is well known that Schubert polynomials form a basis for the polynomial ring $\mathbb{Z}[x_1,x_2,x_3,...]$.

I am interested in knowing how to express a particular polynomial into sum of Schubert polynomial.

Does anyone can give me reference on program( say Macaulay2) expressing a particular polynomial in terms of Schubert polynomial? I did a google search before but could not find a satisfactory answer.

Also are there any fast ways in determining whether a polynomial is a sum of double Schubert polynomial?

Any hints or reference are appreciated.

Thank you very much!