Changeset eacd64 in git for kernel/polys.h


Ignore:
Timestamp:
Jul 26, 2008, 11:40:41 AM (15 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'f875bbaccd0831e36aaed09ff6adeb3eb45aeb94')
Children:
a88544fdc68f487a8bdd16ab6970163fd7fdad89
Parents:
0a9e45327ccc99fcc83b828f8bd61c187d8e46ee
Message:
*hannes: inline pOne


git-svn-id: file:///usr/local/Singular/svn/trunk@10913 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/polys.h

    r0a9e45 reacd64  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: polys.h,v 1.17 2008-07-25 14:37:55 Singular Exp $ */
     6/* $Id: polys.h,v 1.18 2008-07-26 09:40:41 Singular Exp $ */
    77/*
    88* ABSTRACT - all basic methods to manipulate polynomials of the
     
    358358#define   pISet(i) p_ISet(i,currRing)
    359359#define   pNSet(n) p_NSet(n,currRing)
    360 #define   pOne()   pISet(1)
     360//#define   pOne()   pISet(1)
     361inline poly pOne()
     362{
     363  poly rc = pInit();
     364  pSetCoeff0(rc,nInit(1));
     365  return rc;
     366}
    361367
    362368void      pContent(poly p);
Note: See TracChangeset for help on using the changeset viewer.