Changeset 7dce2d7 in git for libpolys/coeffs
- Timestamp:
- Apr 20, 2011, 5:24:15 PM (13 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 9765f3b4f33f8fae7a5ca4ed7831d01d8ca37a06
- Parents:
- 7f602bf34cba1848ae22dbe21a65ea4f2460604f
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-04-20 17:24:15+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:21+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/coeffs.h
r7f602b r7dce2d7 378 378 { return (r->ringtype != 0); } 379 379 380 /// returns TRUE, if r is not a field and r has no zero divisors (i.e is a domain) 380 381 static inline BOOLEAN nCoeff_is_Domain(const coeffs r) 381 382 { return (r->ringtype == 4 || r->ringtype == 0); } 382 383 384 /// returns TRUE, if r is not a field and r has non-trivial units 383 385 static inline BOOLEAN nCoeff_has_Units(const coeffs r) 384 386 { return ((r->ringtype == 1) || (r->ringtype == 2) || (r->ringtype == 3)); } … … 423 425 { return getCoeffType(r)==n_CF; } 424 426 427 /// TRUE, if the computation of the inverse is fast (i.e. prefer leading coeff. 1 over content) 425 428 static inline BOOLEAN nCoeff_has_simple_inverse(const coeffs r) 426 429 { return r->has_simple_Inverse; } 427 430 /* Z/2^n, Z/p, GF(p,n), R, long_R, long_C*/ 428 431 432 /// TRUE if n_Delete/n_New are empty operations 429 433 static inline BOOLEAN nCoeff_has_simple_Alloc(const coeffs r) 430 434 { return r->has_simple_Alloc; }
Note: See TracChangeset
for help on using the changeset viewer.