Changeset 1c33e0d in git for kernel/polys.h


Ignore:
Timestamp:
Jul 26, 2008, 6:05:41 PM (16 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
5bc4103ee51a6a028666ee3c666059e950974fb1
Parents:
b9022462e46849623dbd8805f96973d5369e7fb2
Message:
*hannes: p_One


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

Legend:

Unmodified
Added
Removed
  • kernel/polys.h

    rb902246 r1c33e0d  
    44*  Computer Algebra System SINGULAR     *
    55****************************************/
    6 /* $Id: polys.h,v 1.19 2008-07-26 10:04:55 Singular Exp $ */
     6/* $Id: polys.h,v 1.20 2008-07-26 16:05: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)
    361 inline poly p_One(const ring r)
    362 {
    363   poly rc = p_Init(r);
    364   pSetCoeff0(rc,r->cf->nInit(1));
    365   return rc;
    366 }
     360
     361poly p_One(const ring r);
    367362#define   pOne()   p_One(currRing)
    368363
Note: See TracChangeset for help on using the changeset viewer.