Changeset a9c298 in git for kernel/old.Ideal.h
- Timestamp:
- Nov 20, 2013, 4:54:25 PM (9 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/old.Ideal.h
re40145 ra9c298 17 17 IdealBase(){ 18 18 } 19 20 IdealBase(iterator first, 21 22 23 19 20 IdealBase(iterator first, 21 iterator last, 22 const typename 23 std::vector<poly_type>::allocator_type& __a = allocator_type()): 24 24 storage(first,last,__a) 25 25 { 26 26 27 27 } 28 28 ring getRing() const{ … … 84 84 } 85 85 } 86 Ideal(iterator first, 87 88 86 Ideal(iterator first, 87 iterator last, 88 const allocator_type& __a = allocator_type()): 89 89 IdealBase<Poly>(first,last,__a){ 90 90 } … … 92 92 //no checks for rings 93 93 int s=size(); 94 94 95 95 if (s==0) 96 96 s=1; 97 97 98 98 ideal result=idInit(s,1); 99 99 result->m[0]=NULL; … … 114 114 } 115 115 ideal as_module() const{ 116 116 117 117 //no checks for rings 118 118 int s=size(); 119 119 120 120 if (s==0) 121 121 s=1; 122 122 123 123 ideal result=idInit(s,1); 124 124 result->m[0]=NULL; … … 133 133 result->rank=idRankFreeModule(result,storage[0].getRing()); 134 134 return result; 135 135 136 136 } 137 Module(iterator first, 138 139 137 Module(iterator first, 138 iterator last, 139 const allocator_type& __a = allocator_type()): 140 140 IdealBase<Vector>(first,last,__a){ 141 141 }
Note: See TracChangeset
for help on using the changeset viewer.