| 336 | return p_Copy(ptr->p,ptr->getRing()); |
| 337 | } |
| 338 | template<class T> void checkIsSameRing(T& p) |
| 339 | { |
| 340 | if (error_handle_traits::handleErrors) |
| 341 | { |
| 342 | if (p.getRing()!=this->getRing()) |
| 343 | { |
| 344 | error_handle_traits::handleDifferentRing(this->getRing(), |
| 345 | p.getRing() |
| 346 | ); |
| 347 | } |
| 348 | } |
| 349 | } |
| 350 | typedef create_type_input create_type; |
| 351 | typedef PolyInputIterator<create_type> iterator; |
| 352 | Intvec leadExp() |