Changeset 13366d in git for libpolys/polys/monomials
- Timestamp:
- Apr 20, 2011, 5:56:26 PM (13 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- c5412f9a6a13ab8833d5cbe0867056162b572292
- Parents:
- dd693af15271046d17b3936568ad7f4e972fe37a
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-04-20 17:56:26+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:31:22+01:00
- Location:
- libpolys/polys/monomials
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/ring.cc
rdd693a r13366d 14 14 #include <omalloc/omalloc.h> 15 15 #include <misc/options.h> 16 #include <misc/intvec.h>17 16 #include <polys/monomials/ring.h> 18 17 #include <polys/monomials/p_polys.h> … … 2733 2732 2734 2733 2735 bool rSetISReference(const ideal F, const int i, const int p, const intvec * componentWeights, const ring r);2736 2737 2738 2734 /*2 2739 2735 * create a copy of the ring r, which must be equivalent to currRing … … 2949 2945 ideal F = idrHeadR(r->typ[i].data.is.F, r, res); // Copy F from r into res! 2950 2946 assume( 2951 rSetISReference( 2947 rSetISReference( res, 2952 2948 F, // WILL BE COPIED! 2953 2949 r->typ[i].data.is.limit, 2954 2950 j++, 2955 r->typ[i].data.is.componentWeights ,// WILL BE COPIED2956 res)2951 r->typ[i].data.is.componentWeights // WILL BE COPIED 2952 ) 2957 2953 ); 2958 2954 id_Delete(&F, res); … … 4942 4938 /// We will use it AS IS! 4943 4939 /// returns true is everything was allright! 4944 bool rSetISReference(const ideal F, const ring r,const int i = 0, const int p = 0, const intvec * componentWeights = NULL)4940 BOOLEAN rSetISReference(const ring r, const ideal F, const int i, const int p, const intvec * componentWeights) 4945 4941 { 4946 4942 // Put the reference set F into the ring -ordering -recor … … 4957 4953 { 4958 4954 dReportError("Error: WRONG USE of rSetISReference: wrong ring! (typ == NULL)"); 4959 return false;4955 return FALSE; 4960 4956 } 4961 4957 … … 4966 4962 { 4967 4963 dReportError("Error: WRONG USE of rSetISReference: specified ordering block was not found!!!" ); 4968 return false;4964 return FALSE; 4969 4965 } 4970 4966 … … 5013 5009 #endif 5014 5010 5015 return true;5011 return TRUE; 5016 5012 } 5017 5013 -
libpolys/polys/monomials/ring.h
rdd693a r13366d 10 10 11 11 /* includes */ 12 #include <omalloc/omalloc.h> 13 #include <misc/auxiliary.h> 12 14 #include <coeffs/coeffs.h> 13 #include <omalloc/omalloc.h>14 15 //#include <polys/monomials/polys-impl.h> 15 16 // … … 664 665 // 665 666 667 BOOLEAN rSetISReference(const ring r, const ideal F, const int i = 0, const int p = 0, const intvec * componentWeights = NULL); 668 666 669 BOOLEAN rCheckIV(intvec *iv); 667 670 int rTypeOfMatrixOrder(intvec * order);
Note: See TracChangeset
for help on using the changeset viewer.