Changeset 16f8f1 in git for libpolys/coeffs/coeffs.h
- Timestamp:
- Mar 3, 2011, 2:26:34 PM (13 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- f47f569bdf07891fa2a30df0f1c5315e6fe1f5d1
- Parents:
- fb0a6994525982ae391932afdd4d24384a163fda
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-03-03 14:26:34+01:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:01:04+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/coeffs.h
rfb0a699 r16f8f1 248 248 /// in case of an error return NULL 249 249 coeffs nInitChar(n_coeffType t, void * parameter); 250 250 251 /// undo all initialisations 251 252 void nKillChar(coeffs r); 253 252 254 /// initialisations after each ring change 253 255 static inline void nSetChar(const coeffs r) … … 257 259 } 258 260 259 // nach einer heissen Diskussion260 261 void nNew(number * a); 261 262 #define n_New(n, r) nNew(n) … … 267 268 static inline number n_Copy(number n, const coeffs r) 268 269 { return r->cfCopy(n, r); } 270 269 271 static inline void n_Delete(number* p, const coeffs r) 270 272 { r->cfDelete(p, r); } … … 272 274 static inline BOOLEAN n_Equal(number a, number b, const coeffs r) 273 275 { return r->cfEqual(a, b, r); } 276 274 277 static inline BOOLEAN n_IsZero(number n, const coeffs r) 275 278 { return r->cfIsZero(n,r); } 279 276 280 static inline BOOLEAN n_IsOne(number n, const coeffs r) 277 281 { return r->cfIsOne(n,r); } 282 278 283 static inline BOOLEAN n_IsMOne(number n, const coeffs r) 279 284 { return r->cfIsMOne(n,r); } 285 280 286 static inline BOOLEAN n_GreaterZero(number n, const coeffs r) 281 287 { return r->cfGreaterZero(n,r); } 282 288 // cfGreater? 289 283 290 #ifdef HAVE_RINGS 284 291 static inline BOOLEAN n_IsUnit(number n, const coeffs r) 285 292 { return r->cfIsUnit(n,r); } 293 286 294 static inline number n_GetUnit(number n, const coeffs r) 287 295 { return r->cfGetUnit(n,r); } 296 288 297 static inline BOOLEAN n_DivBy(number a, number b, const coeffs r) 289 298 { return r->cfDivBy(a,b,r); }
Note: See TracChangeset
for help on using the changeset viewer.