| 72 | |
| 73 | template<> |
| 74 | void Plaintext<gfp,FFT_Data,bigint>::to_poly() const |
| 75 | { |
| 76 | if (type!=Evaluation) { return; } |
| 77 | |
| 78 | Ring_Element e(*Field_Data,evaluation); |
| 79 | for (unsigned int i=0; i<a.size(); i++) |
| 80 | { e.set_element(i,a[i].get()); } |
| 81 | e.change_rep(polynomial); |
| 82 | from(e.get_iterator()); |
| 83 | type=Both; |
| 84 | } |
| 85 | |
| 86 | |
| 87 |
no test coverage detected