Changeset de88371 in git for libpolys/coeffs/coeffs.h


Ignore:
Timestamp:
Jul 18, 2012, 3:28:22 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'c987db42cd2ec943b97ac5746c99892ceddf909c')
Children:
91ecf187772d8c5893550eabd5abde87d2f29b9c
Parents:
975db1808b2b0917d858a9096710abc55c256aec
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-07-18 15:28:22+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-07-18 15:41:07+02:00
Message:
Added stubs for putting the actual code (TODO!), where required (i.e. described) by Hans

chg: descriptions for the output number (n_ClearContent & n_ClearDenominators)
chg: publicly available default implementations ndClearContent & ndClearDenominators for fallback calls
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/coeffs.h

    r975db18 rde88371  
    813813/// Computes the content and (inplace) divides it out on a collection
    814814/// of numbers
    815 /// NOTE/TODO: see the description by Hans
    816 /// TODO: what exactly is c?
     815/// number @em c is the content (i.e. the GCD of all the coeffs, which
     816/// we divide out inplace)
     817/// NOTE: it assumes all coefficient numbers to be integer!!!
     818/// NOTE/TODO: see also the description by Hans
     819/// TODO: rename into n_ClearIntegerContent
    817820static inline void n_ClearContent(ICoeffsEnumerator& numberCollectionEnumerator, number& c, const coeffs r)
    818821{
     
    822825
    823826/// (inplace) Clears denominators on a collection of numbers
    824 /// NOTE/TODO: see the description by Hans
    825 /// TODO: what exactly is d?
     827/// number @em d is the LCM of all the coefficient denominators (i.e. the number
     828/// with which all the number coeffs. were multiplied)
     829/// NOTE/TODO: see also the description by Hans
    826830static inline void n_ClearDenominators(ICoeffsEnumerator& numberCollectionEnumerator, number& d, const coeffs r)
    827831{
Note: See TracChangeset for help on using the changeset viewer.