Implements Ring.
Definition at line 530 of file schur2.cpp.
531{
536
537 schur_poly *
result =
new schur_poly;
538
543
544 bool done = false;
545 while (!done)
546 {
548 switch (cmp)
549 {
552 ++j;
553 if (j == jend)
554 {
556 done = true;
557 }
558 break;
561 ++i;
562 if (i == iend)
563 {
565 done = true;
566 }
567 break;
569 ring_elem c =
573 ++j;
574 ++i;
575 if (j == jend)
576 {
578 done = true;
579 }
580 else
581 {
582 if (i == iend)
583 {
585 done = true;
586 }
587 }
588 break;
589 }
590 }
592}
virtual bool is_zero(const ring_elem f) const
int compare_partitions(const_schur_partition a, const_schur_partition b) const
const Ring * coefficientRing
const_schur_partition getMonomial()
ring_elem getCoefficient()
schur_poly_iterator iterator
VALGRIND_MAKE_MEM_DEFINED & result(result)
const schur_poly * get_schur_poly() const
References schur_poly::begin(), coefficientRing, compare_partitions(), schur_poly::end(), EQ, ring_elem::get_schur_poly(), schur_poly_iterator::getCoefficient(), schur_poly_iterator::getMonomial(), GT, is_zero(), LT, and result().
Referenced by subtract().