Ignore:
Timestamp:
Jul 17, 2012, 9:30:21 PM (11 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'c987db42cd2ec943b97ac5746c99892ceddf909c')
Children:
de883715f1ef141b4db21091c8e3dafa32942d5b
Parents:
98474f69bc5c570dd7cb85f5f8a0b2164abccb91
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-07-17 21:30:21+02:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-07-17 21:33:55+02:00
Message:
implementing PolyCoeffsEnumerator: enumerator for simple iteration over coefficients of a (non-zero) polynomial.

add: added dummy stubs for calling n_ClearContent and n_ClearDenominators from p_Content and p_Cleardenom
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/monomials/p_polys.cc

    r98474f r975db18  
    2121#include <coeffs/longrat.h> // ???
    2222#include <coeffs/ffields.h>
     23
     24#include <polys/PolyEnumerator.h>
    2325
    2426#define TRANSEXT_PRIVATES
     
    20212023void p_Content(poly ph, const ring r)
    20222024{
     2025#if 0
     2026  if( ph != NULL )
     2027  {
     2028    CPolyCoeffsEnumerator itr(ph);
     2029    n_ClearContent(itr, r->cf);
     2030//    return;
     2031  }
     2032#endif
     2033
     2034 
    20232035#ifdef HAVE_RINGS
    20242036  if (rField_is_Ring(r))
     
    24282440{
    24292441  poly start=ph;
     2442
     2443#if 0
     2444  if( ph != NULL )
     2445  {
     2446    CPolyCoeffsEnumerator itr(ph);
     2447    n_ClearDenominators(itr, r->cf);
     2448    //  return start;
     2449  }
     2450#endif
     2451
    24302452  number d, h;
    24312453  poly p;
     
    25522574void p_Cleardenom_n(poly ph,const ring r,number &c)
    25532575{
     2576#if 0
     2577  if( ph != NULL )
     2578  {
     2579    CPolyCoeffsEnumerator itr(ph);
     2580    n_ClearDenominators(itr, c, r->cf);
     2581//    return;
     2582  }
     2583#endif
     2584 
    25542585  number d, h;
    25552586  poly p;
Note: See TracChangeset for help on using the changeset viewer.