Changeset 6caad65 in git
- Timestamp:
- Aug 10, 2012, 6:43:54 PM (11 years ago)
- Branches:
- (u'spielwiese', 'd1b01e9d51ade4b46b745d3bada5c5f3696be3a8')
- Children:
- 865b200481936511016703447e348179c16cfe12
- Parents:
- ab56fc8edb1c11c3240a168051119e14e5bed4a8
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-08-10 18:43:54+02:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-08-15 19:58:16+02:00
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/bigintmat.cc
rab56fc r6caad65 14 14 #include <math.h> 15 15 #include <string.h> 16 17 // Ungetestet 18 static void bimRowContent(bigintmat *bimat, int rowpos, int colpos); 19 static void bimReduce(bigintmat *bimat, int rpiv, int colpos, 20 int ready, int all); 21 22 16 23 17 24 //#define BIMATELEM(M,I,J) (M)[ (M).index(I,J) ] -
libpolys/coeffs/bigintmat.h
rab56fc r6caad65 194 194 int intArrSum(int * a, int length); 195 195 196 197 // Ungetestet198 static void bimRowContent(bigintmat *bimat, int rowpos, int colpos);199 static void bimReduce(bigintmat *bimat, int rpiv, int colpos,200 int ready, int all);201 202 196 class intvec; 203 197 intvec * bim2iv(bigintmat * b); -
libpolys/polys/monomials/p_polys.h
rab56fc r6caad65 964 964 if (rIsPluralRing(r)) 965 965 { 966 int lp, lq ;967 poly spNoether ;966 int lp, lq = 0; 967 poly spNoether = NULL; 968 968 return nc_p_Minus_mm_Mult_qq(p, m, q, lp, lq, spNoether, r); 969 969 } -
libpolys/polys/monomials/ring.cc
rab56fc r6caad65 3212 3212 3213 3213 /*======== ordering type is (am,_) ==================*/ 3214 if ((order[0]==ringorder_am) 3215 ) 3214 if (order[0]==ringorder_am) 3216 3215 { 3217 3216 r->MixedOrder = FALSE; … … 4407 4406 ring rAssure_SyzComp(const ring r, BOOLEAN complete) 4408 4407 { 4409 if ( (r->order[0] == ringorder_s)) return r;4410 4411 if ( (r->order[0] == ringorder_IS))4408 if ( r->order[0] == ringorder_s ) return r; 4409 4410 if ( r->order[0] == ringorder_IS ) 4412 4411 { 4413 4412 #ifndef NDEBUG -
libpolys/polys/prCopyTemplate.cc
rab56fc r6caad65 30 30 p_Test(dest, r_dest); 31 31 return dest; 32 (void)(r_src); 32 33 } -
numeric/mpr_base.cc
rab56fc r6caad65 76 76 77 77 // public interface according to base class resMatrixBase 78 constideal getMatrix();78 ideal getMatrix(); 79 79 80 80 /** Fills in resMat[][] with evpoint[] and gets determinant … … 84 84 * i= 1 .. numSet0 85 85 */ 86 constnumber getDetAt( const number* evpoint );87 88 constpoly getUDet( const number* evpoint );86 number getDetAt( const number* evpoint ); 87 88 poly getUDet( const number* evpoint ); 89 89 90 90 private: … … 179 179 180 180 // pointSet.points[i] equals pointSet[i] 181 inline constonePointP operator[] ( const int index );181 inline onePointP operator[] ( const int index ); 182 182 183 183 /** Adds a point to pointSet, copy vert[0,...,dim] ot point[num+1][0,...,dim]. … … 440 440 } 441 441 442 inline constonePointP pointSet::operator[] ( const int index_i )442 inline onePointP pointSet::operator[] ( const int index_i ) 443 443 { 444 444 assume( index_i > 0 && index_i <= num ); … … 1737 1737 } 1738 1738 1739 constideal resMatrixSparse::getMatrix()1739 ideal resMatrixSparse::getMatrix() 1740 1740 { 1741 1741 int i,j,cp; … … 1798 1798 // uRPos[i][2..idelem]: col of u(1) .. u(n) 1799 1799 // i= 1 .. numSet0 1800 constnumber resMatrixSparse::getDetAt( const number* evpoint )1800 number resMatrixSparse::getDetAt( const number* evpoint ) 1801 1801 { 1802 1802 int i,cp; … … 1858 1858 // uRPos[i][2..idelem]: col of u(1) .. u(n) 1859 1859 // i= 1 .. numSet0 1860 constpoly resMatrixSparse::getUDet( const number* evpoint )1860 poly resMatrixSparse::getUDet( const number* evpoint ) 1861 1861 { 1862 1862 int i,cp; … … 1947 1947 1948 1948 /** Returns the matrix M in an usable presentation */ 1949 constideal getMatrix();1949 ideal getMatrix(); 1950 1950 1951 1951 /** Returns the submatrix M' of M in an usable presentation */ 1952 constideal getSubMatrix();1952 ideal getSubMatrix(); 1953 1953 1954 1954 /** Evaluate the determinant of the matrix M at the point evpoint … … 1956 1956 * Uses singclap_det from factory. 1957 1957 */ 1958 constnumber getDetAt( const number* evpoint );1958 number getDetAt( const number* evpoint ); 1959 1959 1960 1960 /** Evaluates the determinant of the submatrix M'. … … 1962 1962 * Uses singclap_det from factory. 1963 1963 */ 1964 constnumber getSubDet();1964 number getSubDet(); 1965 1965 1966 1966 private: … … 2471 2471 } 2472 2472 2473 constideal resMatrixDense::getMatrix()2473 ideal resMatrixDense::getMatrix() 2474 2474 { 2475 2475 int i,j; … … 2521 2521 } 2522 2522 2523 constideal resMatrixDense::getSubMatrix()2523 ideal resMatrixDense::getSubMatrix() 2524 2524 { 2525 2525 int k,i,j,l; … … 2552 2552 } 2553 2553 2554 constnumber resMatrixDense::getDetAt( const number* evpoint )2554 number resMatrixDense::getDetAt( const number* evpoint ) 2555 2555 { 2556 2556 int k,i; … … 2597 2597 } 2598 2598 2599 constnumber resMatrixDense::getSubDet()2599 number resMatrixDense::getSubDet() 2600 2600 { 2601 2601 int k,i,j,l; -
numeric/mpr_base.h
rab56fc r6caad65 29 29 virtual ~resMatrixBase() {} 30 30 31 virtual constideal getMatrix() { return NULL; }32 virtual constideal getSubMatrix() { return NULL; }31 virtual ideal getMatrix() { return NULL; } 32 virtual ideal getSubMatrix() { return NULL; } 33 33 34 virtual constpoly getUDet( const number* evpoint ) { return NULL; }34 virtual poly getUDet( const number* evpoint ) { return NULL; } 35 35 36 virtual constnumber getDetAt( const number* evpoint ) { return NULL; }37 virtual constnumber getSubDet() { return NULL; }36 virtual number getDetAt( const number* evpoint ) { return NULL; } 37 virtual number getSubDet() { return NULL; } 38 38 39 virtual const long getDetDeg() const{ return totDeg; }39 virtual long getDetDeg() { return totDeg; } 40 40 41 virtual constIStateType initState() const { return istate; }41 virtual IStateType initState() const { return istate; } 42 42 43 43 protected: -
numeric/mpr_numeric.h
rab56fc r6caad65 160 160 void arrange(); 161 161 162 constbool success() { return found_roots; }162 bool success() { return found_roots; } 163 163 164 164 private:
Note: See TracChangeset
for help on using the changeset viewer.