Changeset cfecd2 in git for libpolys


Ignore:
Timestamp:
Aug 12, 2011, 5:09:01 PM (13 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
94a065cc1eef470efefb950abf185f50c06ba20d
Parents:
a374b8bab94e13d254d807da4110c48b626fe5ab
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-08-12 17:09:01+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:22:43+01:00
Message:
add n_RePart and n_ImPart to coeffs.h
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/coeffs.h

    ra374b8 rcfecd2  
    601601}
    602602
     603static inline number  n_RePart(number i, const coeffs cf)
     604{
     605  assume(cf != NULL); assume(cf->cfRePart!=NULL);
     606  return cf->cfRePart(i,cf);
     607}
     608static inline number  n_ImPart(number i, const coeffs cf)
     609{
     610  assume(cf != NULL); assume(cf->cfImPart!=NULL);
     611  return cf->cfImpart(i,cf);
     612}
     613
    603614/// returns TRUE, if r is not a field and r has non-trivial units
    604615static inline BOOLEAN nCoeff_has_Units(const coeffs r)
     
    702713
    703714// Missing wrappers for: (TODO: review this?)
    704 // cfIntMod, cfRePart, cfImPart, cfRead, cfName, cfInit_bigint
     715// cfIntMod, cfRead, cfName, cfInit_bigint
    705716// HAVE_RINGS: cfDivComp, cfExtGcd...
    706717
Note: See TracChangeset for help on using the changeset viewer.