29 TEST(IrreducibleDecom, TypicalEncoded) {
41 TEST(IrreducibleDecom, Typical) {
50 TEST(IrreducibleDecom, ZeroIdealEncoded) {
51 for (
size_t varCount = 0; varCount <= 3; ++varCount) {
63 TEST(IrreducibleDecom, ZeroIdeal) {
64 for (
size_t varCount = 0; varCount <= 3; ++varCount) {
70 vector<BigIdeal> ideals;
76 TEST(IrreducibleDecom, WholeRingEncoded) {
77 for (
size_t varCount = 0; varCount <= 3; ++varCount) {
90 TEST(IrreducibleDecom, WholeRing) {
91 for (
size_t varCount = 0; varCount <= 3; ++varCount) {
TEST(IrreducibleDecom, TypicalEncoded)
Frobby::Ideal toLibIdeal(const BigIdeal &ideal)
Returns a library interface ideal that corresponds to the parameter ideal.
#define ASSERT_TRUE(VALUE)
#define ASSERT_FALSE(VALUE)
static BigIdeal xy_xxyyz()
Returns .
static BigIdeal xx_yy_xz_yz()
Returns .
static VarNames ring_xyzt()
Returns the ring in the four variables , , and .
static vector< BigIdeal > irrdecom_xx_yy_xz_yz()
Returns the irreducible decomposition of .
static BigIdeal zeroIdeal(size_t varCount)
Returns the ideal in the ring VarNames(varCount).
static BigIdeal wholeRing(size_t varCount)
Returns in the ring VarNames(varCount).
Records library interface output into a BigIdeal.
const BigIdeal & getIdeal() const
Returns the recorded ideal in a canonical form.
bool hasAnyOutput() const
Returns whether any ideal has been recorded.
Records library interface output into a vector of BigIdeals.
const vector< BigIdeal > & getIdeals() const
Returns the recorded ideals in a canonical form.
Defines the variables of a polynomial ring and facilities IO involving them.
#define TEST_SUITE2(PARENT, SUITE)
void irreducibleDecompositionAsIdeals(const Ideal &ideal, IdealConsumer &consumer)
Compute the irreducible decomposition of ideal.
bool irreducibleDecompositionAsMonomials(const Ideal &ideal, IdealConsumer &consumer)
Compute the irreducible decomposition of ideal, and encode each irreducible component as a monomial.