Changeset a9c298 in git for kernel/old.Ideal.h


Ignore:
Timestamp:
Nov 20, 2013, 4:54:25 PM (9 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
Children:
0de0509972719531e2a4b51ec9fd0e44a66fd2fd
Parents:
e4014563a82388c4b39dfa37db24cbe159b24a35
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-11-20 16:54:25+01:00
git-committer:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2013-11-20 16:54:42+01:00
Message:
format stuff
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/old.Ideal.h

    re40145 ra9c298  
    1717 IdealBase(){
    1818 }
    19  
    20  IdealBase(iterator first, 
    21              iterator last,
    22              const typename
    23              std::vector<poly_type>::allocator_type& __a = allocator_type()):
     19
     20 IdealBase(iterator first,
     21             iterator last,
     22             const typename
     23             std::vector<poly_type>::allocator_type& __a = allocator_type()):
    2424   storage(first,last,__a)
    2525   {
    26    
     26
    2727 }
    2828 ring getRing() const{
     
    8484    }
    8585  }
    86   Ideal(iterator first, 
    87         iterator last,
    88         const allocator_type& __a = allocator_type()):
     86  Ideal(iterator first,
     87        iterator last,
     88        const allocator_type& __a = allocator_type()):
    8989    IdealBase<Poly>(first,last,__a){
    9090  }
     
    9292   //no checks for rings
    9393   int s=size();
    94    
     94
    9595   if (s==0)
    9696    s=1;
    97    
     97
    9898   ideal result=idInit(s,1);
    9999   result->m[0]=NULL;
     
    114114  }
    115115  ideal as_module() const{
    116    
     116
    117117   //no checks for rings
    118118        int s=size();
    119    
     119
    120120        if (s==0)
    121121        s=1;
    122    
     122
    123123        ideal result=idInit(s,1);
    124124        result->m[0]=NULL;
     
    133133            result->rank=idRankFreeModule(result,storage[0].getRing());
    134134   return result;
    135    
     135
    136136  }
    137   Module(iterator first, 
    138         iterator last,
    139         const allocator_type& __a = allocator_type()):
     137  Module(iterator first,
     138        iterator last,
     139        const allocator_type& __a = allocator_type()):
    140140    IdealBase<Vector>(first,last,__a){
    141141  }
Note: See TracChangeset for help on using the changeset viewer.