Changeset 6caad65 in git for numeric/mpr_base.cc


Ignore:
Timestamp:
Aug 10, 2012, 6:43:54 PM (10 years ago)
Author:
Oleksandr Motsak <motsak@…>
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
Message:
warnings elimination

chg: uninitialized fake variables
chg: "'const' type qualifier on return type has no effect" for numeric/
chg: more minor warnings elimination
File:
1 edited

Legend:

Unmodified
Added
Removed
  • numeric/mpr_base.cc

    rab56fc r6caad65  
    7676
    7777  // public interface according to base class resMatrixBase
    78   const ideal getMatrix();
     78  ideal getMatrix();
    7979
    8080  /** Fills in resMat[][] with evpoint[] and gets determinant
     
    8484   *  i= 1 .. numSet0
    8585   */
    86   const number getDetAt( const number* evpoint );
    87 
    88   const poly getUDet( const number* evpoint );
     86  number getDetAt( const number* evpoint );
     87
     88  poly getUDet( const number* evpoint );
    8989
    9090private:
     
    179179
    180180  // pointSet.points[i] equals pointSet[i]
    181   inline const onePointP operator[] ( const int index );
     181  inline onePointP operator[] ( const int index );
    182182
    183183  /** Adds a point to pointSet, copy vert[0,...,dim] ot point[num+1][0,...,dim].
     
    440440}
    441441
    442 inline const onePointP pointSet::operator[] ( const int index_i )
     442inline onePointP pointSet::operator[] ( const int index_i )
    443443{
    444444  assume( index_i > 0 && index_i <= num );
     
    17371737}
    17381738
    1739 const ideal resMatrixSparse::getMatrix()
     1739ideal resMatrixSparse::getMatrix()
    17401740{
    17411741  int i,j,cp;
     
    17981798//    uRPos[i][2..idelem]: col of u(1) .. u(n)
    17991799//    i= 1 .. numSet0
    1800 const number resMatrixSparse::getDetAt( const number* evpoint )
     1800number resMatrixSparse::getDetAt( const number* evpoint )
    18011801{
    18021802  int i,cp;
     
    18581858//    uRPos[i][2..idelem]: col of u(1) .. u(n)
    18591859//    i= 1 .. numSet0
    1860 const poly resMatrixSparse::getUDet( const number* evpoint )
     1860poly resMatrixSparse::getUDet( const number* evpoint )
    18611861{
    18621862  int i,cp;
     
    19471947
    19481948  /** Returns the matrix M in an usable presentation */
    1949   const ideal getMatrix();
     1949  ideal getMatrix();
    19501950
    19511951  /** Returns the submatrix M' of M in an usable presentation */
    1952   const ideal getSubMatrix();
     1952  ideal getSubMatrix();
    19531953
    19541954  /** Evaluate the determinant of the matrix M at the point evpoint
     
    19561956   * Uses singclap_det from factory.
    19571957   */
    1958   const number getDetAt( const number* evpoint );
     1958  number getDetAt( const number* evpoint );
    19591959
    19601960  /** Evaluates the determinant of the submatrix M'.
     
    19621962   * Uses singclap_det from factory.
    19631963   */
    1964   const number getSubDet();
     1964  number getSubDet();
    19651965
    19661966private:
     
    24712471}
    24722472
    2473 const ideal resMatrixDense::getMatrix()
     2473ideal resMatrixDense::getMatrix()
    24742474{
    24752475  int i,j;
     
    25212521}
    25222522
    2523 const ideal resMatrixDense::getSubMatrix()
     2523ideal resMatrixDense::getSubMatrix()
    25242524{
    25252525  int k,i,j,l;
     
    25522552}
    25532553
    2554 const number resMatrixDense::getDetAt( const number* evpoint )
     2554number resMatrixDense::getDetAt( const number* evpoint )
    25552555{
    25562556  int k,i;
     
    25972597}
    25982598
    2599 const number resMatrixDense::getSubDet()
     2599number resMatrixDense::getSubDet()
    26002600{
    26012601  int k,i,j,l;
Note: See TracChangeset for help on using the changeset viewer.