27 TEST(AlexanderDual, ImplicitPoint) {
36 TEST(AlexanderDual, ExplicitPoint) {
37 vector<mpz_class> pointLcm(4);
50 TEST(AlexanderDual, ZeroIdeal) {
51 for (
size_t varCount = 0; varCount <= 3; ++varCount) {
61 TEST(AlexanderDual, WholeRing) {
62 for (
size_t varCount = 0; varCount <= 3; ++varCount) {
TEST(AlexanderDual, ImplicitPoint)
const mpz_t * castLibArray(const vector< mpz_class > &vect)
Returns a pointer to an array of mpt_t that represents the entries in the mpz_class.
Frobby::Ideal toLibIdeal(const BigIdeal &ideal)
Returns a library interface ideal that corresponds to the parameter ideal.
static BigIdeal xyz_xxyy()
Returns .
static BigIdeal xyzzz_xxyy()
Returns .
static BigIdeal xx_yy_xz_yz()
Returns .
static VarNames ring_xyzt()
Returns the ring in the four variables , , and .
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.
Defines the variables of a polynomial ring and facilities IO involving them.
#define TEST_SUITE2(PARENT, SUITE)
bool alexanderDual(const Ideal &ideal, const mpz_t *reflectionMonomial, IdealConsumer &consumer)
Compute the Alexander dual of ideal using the point reflectionMonomial.