Inverse CRT operation to convert single-crt Poly to a vector of coefficients

Hello,
I work with the ckks-rns scheme and I have a problem with converting from a single-crt representation (PolyImpl with modulo factored values) to the vector of normal values of coefficients of a polynomial. How to do that in the best way?

You can use CRTInterpolate in DCRTPoly as follows:

Poly coeffs = a.CRTInterpolate(); // where is a DCRTPoly

Check this unittest for a full working example.

Thank you so much for the quick reply, it seems okay now.