A simple example for creating a vec_ZZ and vec_ZZ_p and their transformation in NTL
Thecodes#include#include#include#include#defineP3usingnamespacestd;intmain(){//usethentlcreateavectorandinitializeitwith{1,2,3}NTL::ZZ_p::init(NTL::ZZ(P));NTL::vec_ZZ_pv;v.SetLength(3);for(inti=0;i(v[