Macaulay2 Engine
Loading...
Searching...
No Matches

◆ gbvector_copy()

gbvector * GBRing::gbvector_copy ( const gbvector * f)

Definition at line 581 of file gbring.cpp.

582{
583 gbvector head;
584 gbvector *b = &head;
585 for (; f != nullptr; f = f->next, b = b->next) b->next = gbvector_copy_term(f);
586 b->next = nullptr;
587 return head.next;
588}
gbvector * gbvector_copy_term(const gbvector *t)
Definition gbring.cpp:366
gbvector * next
Definition gbring.hpp:80

References gbvector_copy_term(), and gbvector::next.