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

◆ text_out()

void PolyRingQuotient::text_out ( buffer & o) const
virtual

Implements PolynomialRing.

Definition at line 103 of file polyquotient.cpp.

104{
105 o << "Quotient ring of ";
106 numerR_->text_out(o);
107 o << newline << "quotient elements" << newline;
108 for (int i = 0; i < n_quotients(); i++)
109 {
110 o << " ";
112 o << newline;
113 }
114}
virtual void elem_text_out(buffer &o, const ring_elem f, bool p_one=true, bool p_plus=false, bool p_parens=false) const
int n_quotients() const
Definition polyring.hpp:219
const PolyRing * numerR_
Definition polyring.hpp:125
Nterm * quotient_element(int i) const
Definition polyring.hpp:220
char newline[]
Definition m2-types.cpp:49

References elem_text_out(), PolynomialRing::n_quotients(), newline, PolynomialRing::numerR_, and PolynomialRing::quotient_element().