Changeset df2551 in git
- Timestamp:
- Dec 2, 2010, 6:23:15 PM (13 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 4d9fa541e3d001e503b8e0fd8199d011b84156bf
- Parents:
- 132ea18201bc14d61257de417dc471d72ff8e529
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ring.cc
r132ea1 rdf2551 736 736 } 737 737 738 int rIsExtension( ring r)738 int rIsExtension(const ring r) 739 739 { 740 740 return (r->parameter!=NULL); /* R, Q, Fp: FALSE */ 741 741 } 742 742 743 int rIsExtension() 744 { 745 return rIsExtension( currRing ); 746 } 747 748 int binaryPower (const int a, const int b) 743 static int binaryPower (const int a, const int b) 749 744 { 750 745 /* computes a^b according to the binary representation of b, -
kernel/ring.h
r132ea1 rdf2551 132 132 #define rVar(r) (r->N) 133 133 char * rParStr(ring r); 134 int rIsExtension(ring r); 135 int rIsExtension(); 134 int rIsExtension(const ring r=currRing); 136 135 int rSum(ring r1, ring r2, ring &sum); 137 136 int rSumInternal(ring r1, ring r2, ring &sum, BOOLEAN vartest, BOOLEAN dp_dp);
Note: See TracChangeset
for help on using the changeset viewer.