MCPcopy Create free account
hub / github.com/data61/MP-SPDZ / to_poly

Method to_poly

FHE/Plaintext.cpp:74–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72
73template<>
74void 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

Callers 3

Plaintext.cppFile · 0.80
mulFunction · 0.80
PlaintextClass · 0.80

Calls 6

sizeMethod · 0.45
set_elementMethod · 0.45
getMethod · 0.45
change_repMethod · 0.45
get_iteratorMethod · 0.45
forwardMethod · 0.45

Tested by

no test coverage detected