Macaulay2 Engine
Loading...
Searching...
No Matches
debug.hpp
Go to the documentation of this file.
1
31
32#include "ringelem.hpp"
33
34class Matrix;
35class RingElement;
36class FreeModule;
37class Ring;
38class GBRing;
39class gbvector;
40class res_poly;
41class res2_poly;
42struct resterm;
43struct res2term;
44class MutableMatrix;
45class MonomialIdeal;
46
47void showint(mpz_srcptr a);
48
49void dmatrix(const Matrix *M);
50
51void drelem(const RingElement *f);
52
53void dfree(const FreeModule *F);
54
55extern "C" void dringelem(const Ring *R, const ring_elem f);
56
57extern "C" void dNterm(const Ring *R, const Nterm *f);
58
59extern "C" void dvec(const Ring *R, const vec v);
60
61extern "C" void dgbvec(const GBRing *R, gbvector *v);
62
63void drespoly(const res_poly *R, const resterm *f);
64
65void drespoly2(const res2_poly *R, const res2term *f);
66
67extern "C" void dmutablemat(MutableMatrix *m);
68
69extern "C" void dmonideal(MonomialIdeal *m);
70
71extern "C" void dintarray(M2_arrayint a);
72
73template <typename T>
74void dvector(gc_vector<T>& a);
75
76template <typename T>
77void dvector(std::vector<T>& a);
78
79extern "C" void dstash();
80
81extern "C" void dRRR(gmp_RR a);
82
83extern "C" void pring(const Ring *R);
84
85// Local Variables:
86// compile-command: "make -C $M2BUILDDIR/Macaulay2/e "
87// indent-tabs-mode: nil
88// End:
Engine-side free module R^n over a Ring.
Definition freemod.hpp:66
Polynomial-ring view tuned for the inner loop of classical Buchberger Groebner-basis computations.
Definition gbring.hpp:120
const PolynomialRing * R
Definition monideal.hpp:137
Engine-side monomial ideal: a decision tree of Nmi_nodes storing the (typically minimal) generators b...
Definition monideal.hpp:136
Abstract base class for mutable matrices over an arbitrary engine Ring, the in-place counterpart of t...
Definition mat.hpp:79
Front-end-visible "ring element" value: an engine ring_elem paired with the Ring* that gives it meani...
Definition relem.hpp:67
xxx xxx xxx
Definition ring.hpp:102
void dmatrix(const Matrix *M)
Definition debug.cpp:52
void dvec(const Ring *R, const vec v)
Definition debug.cpp:88
void drelem(const RingElement *f)
Definition debug.cpp:59
void dstash()
Definition debug.cpp:138
void dNterm(const Ring *R, const Nterm *f)
Definition debug.cpp:80
void showint(mpz_srcptr a)
Definition debug.cpp:12
void pring(const Ring *R)
Definition debug.cpp:152
void dringelem(const Ring *R, const ring_elem f)
Definition debug.cpp:73
void dvector(gc_vector< T > &a)
Definition debug.cpp:33
void dRRR(gmp_RR a)
Definition debug.cpp:145
void dmonideal(MonomialIdeal *m)
Definition debug.cpp:131
void drespoly2(const res2_poly *R, const res2term *f)
Definition debug.cpp:110
void dmutablemat(MutableMatrix *m)
Definition debug.cpp:124
void dfree(const FreeModule *F)
Definition debug.cpp:66
void drespoly(const res_poly *R, const resterm *f)
Definition debug.cpp:103
void dintarray(M2_arrayint a)
Definition debug.cpp:19
void dgbvec(const GBRing *R, gbvector *v)
Definition debug.cpp:95
#define Matrix
Definition factory.cpp:14
mpfr_srcptr gmp_RR
Definition m2-types.h:148
typename std::vector< T, gc_allocator< T > > gc_vector
a version of the STL vector, which allocates its backing memory with gc.
Definition newdelete.hpp:76
ring_elem — the universal value type carried by every Ring* in the engine.
Singly linked-list node carrying one term of a polynomial-ring element.
Definition ringelem.hpp:156