Changeset 27e750 in git


Ignore:
Timestamp:
Feb 23, 2009, 2:29:22 PM (14 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
Children:
08500d542c4163fa9952a6aad1cf846ecf31945d
Parents:
7924eecd41944b3878830cb230825ccae2e772ed
Message:
*hannes: HAVE_RATGRING


git-svn-id: file:///usr/local/Singular/svn/trunk@11450 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
kernel
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • kernel/pInline1.h

    r7924ee r27e750  
    77 *  Author:  obachman (Olaf Bachmann)
    88 *  Created: 8/00
    9  *  Version: $Id: pInline1.h,v 1.16 2008-07-24 16:33:57 Singular Exp $
     9 *  Version: $Id: pInline1.h,v 1.17 2009-02-23 13:27:31 Singular Exp $
    1010 *******************************************************************/
    1111#ifndef PINLINE1_H
     
    415415}
    416416
     417#ifdef HAVE_RATGRING
    417418static inline BOOLEAN _p_LmDivisibleByNoCompPart(poly a, const ring r_a, poly b, const ring r_b,const int start, const int end)
    418419{
     
    433434#endif
    434435}
     436static inline BOOLEAN _p_LmDivisibleByPart(poly a, const ring r_a, poly b, const ring r_b,const int start, const int end)
     437{
     438  if (p_GetComp(a, r_a) == 0 || p_GetComp(a,r_a) == p_GetComp(b,r_b))
     439    return _p_LmDivisibleByNoCompPart(a, r_a, b, r_b,start,end);
     440  return FALSE;
     441}
     442PINLINE1 BOOLEAN p_LmDivisibleByPart(poly a, poly b, const ring r,const int start, const int end)
     443{
     444  p_LmCheckPolyRing1(b, r);
     445  pIfThen1(a != NULL, p_LmCheckPolyRing1(b, r));
     446  if (p_GetComp(a, r) == 0 || p_GetComp(a,r) == p_GetComp(b,r))
     447    return _p_LmDivisibleByNoCompPart(a, r, b, r,start, end);
     448  return FALSE;
     449}
     450#endif
    435451static inline BOOLEAN _p_LmDivisibleBy(poly a, poly b, const ring r)
    436452{
     
    443459  if (p_GetComp(a, r_a) == 0 || p_GetComp(a,r_a) == p_GetComp(b,r_b))
    444460    return _p_LmDivisibleByNoComp(a, r_a, b, r_b);
    445   return FALSE;
    446 }
    447 static inline BOOLEAN _p_LmDivisibleByPart(poly a, const ring r_a, poly b, const ring r_b,const int start, const int end)
    448 {
    449   if (p_GetComp(a, r_a) == 0 || p_GetComp(a,r_a) == p_GetComp(b,r_b))
    450     return _p_LmDivisibleByNoCompPart(a, r_a, b, r_b,start,end);
    451461  return FALSE;
    452462}
     
    463473  if (p_GetComp(a, r) == 0 || p_GetComp(a,r) == p_GetComp(b,r))
    464474    return _p_LmDivisibleByNoComp(a, b, r);
    465   return FALSE;
    466 }
    467 PINLINE1 BOOLEAN p_LmDivisibleByPart(poly a, poly b, const ring r,const int start, const int end)
    468 {
    469   p_LmCheckPolyRing1(b, r);
    470   pIfThen1(a != NULL, p_LmCheckPolyRing1(b, r));
    471   if (p_GetComp(a, r) == 0 || p_GetComp(a,r) == p_GetComp(b,r))
    472     return _p_LmDivisibleByNoCompPart(a, r, b, r,start, end);
    473475  return FALSE;
    474476}
  • kernel/polys.cc

    r7924ee r27e750  
    22*  Computer Algebra System SINGULAR     *
    33****************************************/
    4 /* $Id: polys.cc,v 1.36 2009-02-21 17:05:51 Singular Exp $ */
     4/* $Id: polys.cc,v 1.37 2009-02-23 13:29:22 Singular Exp $ */
    55
    66/*
     
    10421042  return FALSE;
    10431043}
     1044#ifdef HAVE_RATGRING
    10441045BOOLEAN pCompareChainPart (poly p,poly p1,poly p2,poly lcm)
    10451046{
     
    10951096  return FALSE;
    10961097}
     1098#endif
    10971099
    10981100int pSize(poly p)
Note: See TracChangeset for help on using the changeset viewer.