Changeset 6caad65 in git for numeric/mpr_base.cc
- Timestamp:
- Aug 10, 2012, 6:43:54 PM (10 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'ad2543eab51733612ba7d118afc77edca719600e')
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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;
Note: See TracChangeset
for help on using the changeset viewer.