#include "FHE/Matrix.h" #include "Tools/Exceptions.h" #include "Math/modp.hpp" #include #include using namespace std; void ident(matrix& U,int n) { U.resize(n, vector(n) ); for (int i=0; i(m) ); for (int i=0; i(n) ); for (unsigned int i=0; i(*this)); } void imatrix::unpack(octetStream& o) { o.get(static_cast(*this)); for (auto& x : *this) { assert(x.size() == size()); } }