Printing plaintext polynomial coefficients vs message vector slots

You can print the plaintext as a DCRTPoly element as follows:

std::cout << "pt1 DCRTPoly: " << pt1 ->GetElement<DCRTPoly>() << std::endl;

1 Like