Changeset 7dce2d7 in git for libpolys/coeffs


Ignore:
Timestamp:
Apr 20, 2011, 5:24:15 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
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
Message:
add comments to some coeff functions
add p_EqualPolys
fix warnings in mod_raw.cc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/coeffs.h

    r7f602b r7dce2d7  
    378378{ return (r->ringtype != 0); }
    379379
     380/// returns TRUE, if r is not a field and r has no zero divisors (i.e is a domain)
    380381static inline BOOLEAN nCoeff_is_Domain(const coeffs r)
    381382{ return (r->ringtype == 4 || r->ringtype == 0); }
    382383
     384/// returns TRUE, if r is not a field and r has non-trivial units
    383385static inline BOOLEAN nCoeff_has_Units(const coeffs r)
    384386{ return ((r->ringtype == 1) || (r->ringtype == 2) || (r->ringtype == 3)); }
     
    423425{ return getCoeffType(r)==n_CF; }
    424426
     427/// TRUE, if the computation of the inverse is fast (i.e. prefer leading coeff. 1 over content)
    425428static inline BOOLEAN nCoeff_has_simple_inverse(const coeffs r)
    426429{ return r->has_simple_Inverse; }
    427430/* Z/2^n, Z/p, GF(p,n), R, long_R, long_C*/
    428431
     432/// TRUE if n_Delete/n_New are empty operations
    429433static inline BOOLEAN nCoeff_has_simple_Alloc(const coeffs r)
    430434{ return r->has_simple_Alloc; }
Note: See TracChangeset for help on using the changeset viewer.