Changeset 78eba1 in git


Ignore:
Timestamp:
Mar 16, 2011, 4:16:37 PM (13 years ago)
Author:
Mohamed Barakat <mohamed.barakat@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'c1c65551e4b3a0de0b13ddf30446f6e9569681b5')
Children:
810a6343bdc1c6a9eadf1fc5d13c3abf7723a3df
Parents:
83f55ff1c5ff260acd15b853eaecd7d374a336df
git-author:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-03-16 16:16:37+01:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:01:06+01:00
Message:
- replaced nIsZero(tmp) -> n_IsZero__T(tmp,r)
- fixed kbuckets reference
- added dynamic_modules target
Location:
libpolys/polys
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/Makefile.am

    r83f55f r78eba1  
    6969libpolys_g_a_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long
    7070#  -fdiagnostics-show-option
     71
     72dynamic_modules: ${module_LTLIBRARIES}
  • libpolys/polys/kbuckets.h

    r83f55f r78eba1  
    55****************************************/
    66/* $Id$ */
     7#include <polys/operations/pShallowCopyDelete.h>
     8#include <polys/monomials/ring.h>
    79#include <polys/templates/p_Procs.h>
    8 #include <polys/operations/pShallowCopyDelete.h>
    910
    1011//#define HAVE_COEF_BUCKETS
  • libpolys/polys/polys1.cc

    r83f55f r78eba1  
    2222#include <polys/monomials/ring.h>
    2323// #include <???/ideals.h>
    24 #include <polys/polys.h>
     24// #include <polys/polys.h>
    2525// #include "ipid.h"
    2626#ifdef HAVE_FACTORY
  • libpolys/polys/templates/p_Minus_mm_Mult_qq__T.cc

    r83f55f r78eba1  
    6767  tb = n_Mult__T(pGetCoeff(q), tm, r);
    6868#ifdef HAVE_ZERODIVISORS
    69   if (!nIsZero(tb)) {
     69  if (!n_IsZero__T(tb,r)) {
    7070#endif
    7171  tc = pGetCoeff(p);
     
    102102#ifdef HAVE_ZERODIVISORS
    103103  tb = n_Mult__T(pGetCoeff(q), tneg, r);
    104   if (!nIsZero(tb))
     104  if (!n_IsZero__T(tb,r))
    105105  {
    106106#endif
  • libpolys/polys/templates/p_Mult_nn__T.cc

    r83f55f r78eba1  
    3333#else
    3434    number tmp = n_Mult__T(n, pGetCoeff(p), r);
    35     if (!nIsZero(tmp))
     35    if (!n_IsZero__T(tmp,r))
    3636    {
    3737       number nc = pGetCoeff(p);
  • libpolys/polys/templates/p_Numbers.h

    r83f55f r78eba1  
    4949#define n_Copy_RingGeneral(n, r)           r->cf->cfCopy(n,r->cf)
    5050#define n_Delete_RingGeneral(n, r)         r->cf->cfDelete(n,r->cf)
    51 #define n_Mult_RingGeneral(n1, n2, r)      r->cf->nMult(n1, n2, r->cf)
    52 #define n_Add_RingGeneral(n1, n2, r)       r->cf->nAdd(n1, n2, r->cf)
    53 #define n_IsZero_RingGeneral(n, r)         r->cf->nIsZero(n, r->cf)
    54 #define n_Equal_RingGeneral(n1, n2, r)     r->cf->nEqual(n1, n2, r->cf)
    55 #define n_Neg_RingGeneral(n, r)            r->cf->nNeg(n, r->cf)
    56 #define n_Sub_RingGeneral(n1, n2, r)       r->cf->nSub(n1, n2, r->cf)
     51#define n_Mult_RingGeneral(n1, n2, r)      r->cf->cfMult(n1, n2, r->cf)
     52#define n_Add_RingGeneral(n1, n2, r)       r->cf->cfAdd(n1, n2, r->cf)
     53#define n_IsZero_RingGeneral(n, r)         r->cf->cfIsZero(n, r->cf)
     54#define n_Equal_RingGeneral(n1, n2, r)     r->cf->cfEqual(n1, n2, r->cf)
     55#define n_Neg_RingGeneral(n, r)            r->cf->cfNeg(n, r->cf)
     56#define n_Sub_RingGeneral(n1, n2, r)       r->cf->cfSub(n1, n2, r->cf)
    5757//#define n_InpMult_RingGeneral(n1, n2, r)   r->cf->nInpMult(n1, n2, r->cf)
    5858#define n_InpMult_RingGeneral(n1, n2, r)   ndInpMult(n1, n2, r->cf)
    59 #define n_InpAdd_RingGeneral(n1, n2, r)    n1=ndInpAdd(n1, n2, r->cf)
     59#define n_InpAdd_RingGeneral(n1, n2, r)    ndInpAdd(n1, n2, r->cf)
    6060#endif
    6161
     
    8585#define n_Sub_FieldQ(n1, n2, r)    nlSub(n1, n2, r->cf)
    8686#define n_InpMult_FieldQ(n1, n2, r) nlInpMult(n1, n2, r->cf)
    87 #define n_InpAdd_FieldQ(n1, n2, r)  n1=nlInpAdd(n1, n2, r->cf)
     87#define n_InpAdd_FieldQ(n1, n2, r)  nlInpAdd(n1, n2, r->cf)
    8888#endif
  • libpolys/polys/templates/p_Procs.h

    r83f55f r78eba1  
    1212#ifndef P_PROCS_H
    1313#define P_PROCS_H
     14#include <polys/monomials/ring.h>
    1415// #include <polys/structs.h>
    1516
  • libpolys/polys/templates/p_Procs_Lib.cc

    r83f55f r78eba1  
    2626#include <polys/templates/p_MemAdd.h>
    2727#include <polys/templates/p_MemCopy.h>
    28 //#include <polys/kbuckets.h>
     28#include <polys/kbuckets.h>
    2929
    3030#include "p_Procs.inc"
  • libpolys/polys/templates/pp_Mult_nn__T.cc

    r83f55f r78eba1  
    4040    number nc = pGetCoeff(p);
    4141    number tmp = n_Mult__T(n, nc, r);
    42     if (! nIsZero(tmp))
     42    if (! n_IsZero__T(tmp,r))
    4343    {
    4444      p_AllocBin(pNext(q), bin, r);
Note: See TracChangeset for help on using the changeset viewer.