Changeset 70d976 in git for libpolys/polys/monomials/ring.h
- Timestamp:
- Mar 10, 2014, 2:15:11 PM (10 years ago)
- Branches:
- (u'spielwiese', 'e7cc1ebecb61be8b9ca6c18016352af89940b21a')
- Children:
- daa13f7cda0d499a1e8ef40d88b9b73bf2494fc2
- Parents:
- 283b70e49eea4578aec6c525038a9ce8df08977bc31461d231f9fdd0c0b673f01d45452a804692e0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/ring.h
rc31461 r70d976 416 416 #ifdef HAVE_RINGS 417 417 static inline BOOLEAN rField_is_Ring_2toM(const ring r) 418 { assume(r != NULL); assume(r->cf != NULL); return ( getCoeffType(r->cf) == n_Z2m &&nCoeff_is_Ring_2toM(r->cf) ); }418 { assume(r != NULL); assume(r->cf != NULL); return ( nCoeff_is_Ring_2toM(r->cf) ); } 419 419 420 420 static inline BOOLEAN rField_is_Ring_ModN(const ring r) 421 { assume(r != NULL); assume(r->cf != NULL); return ( getCoeffType(r->cf) == n_Zn &&nCoeff_is_Ring_ModN(r->cf) ); }421 { assume(r != NULL); assume(r->cf != NULL); return ( nCoeff_is_Ring_ModN(r->cf) ); } 422 422 423 423 static inline BOOLEAN rField_is_Ring_PtoM(const ring r) 424 { assume(r != NULL); assume(r->cf != NULL); return ( getCoeffType(r->cf) == n_Znm &&nCoeff_is_Ring_PtoM(r->cf) ); }424 { assume(r != NULL); assume(r->cf != NULL); return ( nCoeff_is_Ring_PtoM(r->cf) ); } 425 425 426 426 static inline BOOLEAN rField_is_Ring_Z(const ring r) 427 { assume(r != NULL); assume(r->cf != NULL); return ( getCoeffType(r->cf) == n_Z &&nCoeff_is_Ring_Z(r->cf) ); }427 { assume(r != NULL); assume(r->cf != NULL); return ( nCoeff_is_Ring_Z(r->cf) ); } 428 428 429 429 static inline BOOLEAN rField_is_Ring(const ring r)
Note: See TracChangeset
for help on using the changeset viewer.