Changeset e2e3ad in git for kernel/gfan.h
- Timestamp:
- Nov 20, 2009, 6:01:20 PM (14 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 1d77dffe7911bafa212ddec6401c158b5357fe6c
- Parents:
- 68b081826cda1d5edc4a5c9adb3f9ead2a95c338
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/gfan.h
r68b081 re2e3ad 68 68 ring flipRing; //the ring on the other side of the facet 69 69 70 /** The default constructor. Do I need a constructor of type facet(intvec)?*/70 /** The default constructor. */ 71 71 facet(); 72 /** Constructor for lower dimensional faces*/ 72 73 facet(int const &n); 73 /** \brief The copy constructor 74 */ 74 /** The copy constructor */ 75 75 facet(const facet& f); 76 76 … … 119 119 { 120 120 private: 121 ring rootRing; //good to know this -> generic walk121 // ring rootRing; //good to know this -> generic walk 122 122 ideal inputIdeal; //the original 123 123 ring baseRing; //the basering of the cone 124 124 intvec *ivIntPt; //an interior point of the cone 125 125 int UCN; //unique number of the cone 126 int pred; //UCN of the cone this one is derived from 126 127 static int counter; 127 128 … … 159 160 intvec *getIntPoint(); 160 161 void showIntPoint(); 162 void setNumFacets(); 163 int getNumFacets(); 164 int getUCN(); 165 int getPredUCN(); 161 166 void showFacets(short codim=1); 162 167 void showSLA(facet &f); … … 164 169 void invPrint(ideal const &I); 165 170 bool isMonomial(ideal const &I); 166 void setNumFacets(); 167 int getNumFacets(); 168 int getUCN(); 171 intvec *ivNeg(const intvec *iv); 172 int dotProduct(intvec const &iva, intvec const &ivb); 173 bool isParallel(intvec const &a, intvec const &b); 174 bool areEqual(intvec const &a, intvec const &b); 175 int intgcd(int a, int b); 176 void writeConeToFile(gcone const &gc, bool usingIntPoints=FALSE); 177 void readConeFromFile(int gcNum, gcone *gc); 178 intvec f2M(gcone *gc, facet *f, int n=1); 179 180 //The real stuff 169 181 void getConeNormals(ideal const &I, bool compIntPoint=FALSE); 170 182 void getCodim2Normals(gcone const &gc); … … 173 185 // poly restOfDiv(poly const &f, ideal const &I); removed with r12286 174 186 ideal ffG(ideal const &H, ideal const &G); 175 void getGB(ideal const &inputIdeal); 176 intvec *ivNeg(const intvec *iv); 177 int dotProduct(intvec const &iva, intvec const &ivb); 178 bool isParallel(intvec const &a, intvec const &b); 187 void getGB(ideal const &inputIdeal); 179 188 void interiorPoint(dd_MatrixPtr const &M, intvec &iv); 180 189 ring rCopyAndAddWeight(ring const &r, intvec const *ivw); 181 ring rCopyAndChangeWeight(ring const &r, intvec *ivw); 182 bool areEqual(intvec const &a, intvec const &b); 190 ring rCopyAndChangeWeight(ring const &r, intvec *ivw); 183 191 // void reverseSearch(gcone *gcAct); //NOTE both removed from r12286 184 192 // bool isSearchFacet(gcone &gcTmp, facet *testfacet); … … 187 195 void normalize(); 188 196 facet * enqueueNewFacets(facet &f); 189 int intgcd(int a, int b); 190 dd_MatrixPtr facets2Matrix(gcone const &gc); 191 void writeConeToFile(gcone const &gc, bool usingIntPoints=FALSE); 192 void readConeFromFile(int gcNum, gcone *gc); 193 194 // static void gcone::idPrint(ideal &I); 195 intvec f2M(gcone *gc, facet *f, int n=1); 197 dd_MatrixPtr facets2Matrix(gcone const &gc); 198 // static void gcone::idPrint(ideal &I); 196 199 friend class facet; 197 200 };
Note: See TracChangeset
for help on using the changeset viewer.