[CLN-list] modular polynomials
    Jens Vollinga 
    jensv at nikhef.nl
       
    Sat Sep 27 19:03:21 CEST 2008
    
    
  
Dear Alexei,
Alexei Sheplyakov schrieb:
> cl_UP is actually a pointer to a coefficient vector. This assignment creates
> the pointer c which points to the same data as a. That's probably not what
> you want. Perhaps you meant
> 
> 	c = a.ring()->create(degree(a));
> 	for (std::size_t i = 0; i <= degree(a); ++i)
> 		c.set_coeff(i, a.coeff(i));
> 	c.finalize();
now I understand, thanks for the help!
Regards,
Jens
    
    
More information about the CLN-list
mailing list