#include <fglmgauss.h>
Definition at line 18 of file fglmgauss.h.
◆ gaussReducer()
gaussReducer::gaussReducer |
( |
int | dimen | ) |
|
Definition at line 57 of file fglmgauss.cc.
58{
62#ifndef HAVE_EXPLICIT_CONSTR
64#else
66#endif
71}
◆ ~gaussReducer()
gaussReducer::~gaussReducer |
( |
| ) |
|
Definition at line 73 of file fglmgauss.cc.
74{
75#ifndef HAVE_EXPLICIT_CONSTR
77#else
82#endif
83
86}
#define omFreeSize(addr, size)
◆ getDependence()
◆ reduce()
Definition at line 89 of file fglmgauss.cc.
90{
91 number fac1, fac2;
92 number temp;
93
96
98 number vdenom =
v.clearDenom();
100 p.setelem(
p.size(), vdenom );
101 }
102 else {
104 }
105 number
gcd =
v.gcd();
111 }
113
116 if ( !
v.elemIsZero(
perm[
k] ) ) {
119 v.nihilate( fac1, fac2,
elems[
k].
v );
123 fac2= temp;
124 p.nihilate( fac1, fac2,
elems[
k].
p );
128
131 number
gcd =
v.gcd();
133 {
138 }
145 {
151 }
153 }
154 }
155 return (
v.isZero() );
156}
static FORCE_INLINE number n_SubringGcd(number a, number b, const coeffs r)
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
◆ store()
void gaussReducer::store |
( |
| ) |
|
Definition at line 159 of file fglmgauss.cc.
160{
161
162
163
164
169 }
170
171 number
pivot=
v.getconstelem(
k );
179 }
180 }
182 }
183
186
188#ifndef HAVE_EXPLICIT_CONSTR
190#else
192#endif
193}
bool pivot(const matrix aMat, const int r1, const int r2, const int c1, const int c2, int *bestR, int *bestC, const ring R)
This code computes a score for each non-zero matrix entry in aMat[r1..r2, c1..c2].
◆ elems
◆ isPivot
◆ max
◆ pdenom
number gaussReducer::pdenom |
|
private |
◆ perm
◆ size
The documentation for this class was generated from the following files: