Rings for MAT 685
Mathematical ring implementation to demonstrate templates and inheritance
|
▼NRings | |
CCommutative_Ring_Element | Elements of this type should have commutative multiplication |
CField_Element | Field is an integral domain whose nonzero elements have inverses |
CInteger | Encapsulates integers under the Ring_Element rubric |
CIntegral_Domain_Element | Elements of this type should be cancellable; there should be no zero divisors |
CMod | Templated modular arithmetic, making no assumption about the modulus |
CModp | Templated modular arithmetic, modulo a prime \(p\) |
CPolynomial | Dense univariate polynomial, templated according to the coefficient’s type |
CRational | Type for rational numbers |
CRing_Element | Class for elements with the capabilities of ring arithmetic |