Changeset ef7b98 in git
- Timestamp:
- Apr 13, 2011, 6:23:17 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 4dd2c43dea4d3232c22f01e1b49b124b8af13b99
- Parents:
- ef358a8866629f9a88ba03f846fc2ca516b64b8f
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/claptmpl.cc
ref358a ref7b98 201 201 #ifdef HAVE_PLURAL 202 202 203 #include <kernel/ncSACache.h> // for CCacheHash etc classes204 203 #include <kernel/ncSAMult.h> // for CMultiplier etc classes 205 204 … … 208 207 template class CMultiplier<CPower>; 209 208 210 template class CCacheHash<poly>; 211 template class CCacheHash<int>; 209 // #include <kernel/ncSACache.h> // for CCacheHash etc classes 210 // template class CCacheHash<poly>; 211 // template class CCacheHash<int>; 212 212 213 213 #endif -
kernel/Makefile.in
ref358a ref7b98 94 94 febase.cc feread.cc feResource.cc \ 95 95 ffields.cc hdegree.cc hilb.cc hutil.cc \ 96 sca.cc gring.cc gr_kstd2.cc summator.cc ncSAMult.cc ncSA Cache.cc ncSAFormula.cc \96 sca.cc gring.cc gr_kstd2.cc summator.cc ncSAMult.cc ncSAFormula.cc \ 97 97 ideals.cc intvec.cc int64vec.cc \ 98 98 khstd.cc kstdfac.cc \ -
kernel/ncSACache.cc
ref358a ref7b98 27 27 #endif 28 28 29 namespace 30 { 31 static char* m_Typenames[2] = {"lookup", "store"}; 32 } 29 33 34 #include <kernel/ring.h> 35 #include <kernel/p_polys.h> 30 36 31 #include < ncSACache.h> // for CCacheHash etc classes37 #include <kernel/ncSACache.h> // for CCacheHash etc classes 32 38 33 #include <ring.h>34 #include <p_polys.h>35 36 static const char* m_Typenames[2] = {"lookup", "store"};37 39 38 40 void CGlobalCacheHash::History(const EHistoryType t, const CGlobalCacheHash::CExponent a, const CGlobalCacheHash::CExponent b, const poly p) -
kernel/ncSAMult.cc
ref358a ref7b98 230 230 } 231 231 232 static void ggnc_p_ProcsSet(ring rGR, p_Procs_s* p_Procs = NULL)232 static void ggnc_p_ProcsSet(ring rGR, p_Procs_s* p_Procs) 233 233 { 234 234 #if OUTPUT … … 273 273 r->GetNC()->GetGlobalMultiplier() = new CGlobalMultiplier(r); 274 274 275 ggnc_p_ProcsSet(r );275 ggnc_p_ProcsSet(r, NULL); 276 276 return true; 277 277 } … … 286 286 #endif 287 287 288 m_cache = new CGlobalCacheHash(r);288 // m_cache = new CGlobalCacheHash(r); 289 289 m_powers = new CPowerMultiplier(r); 290 290 } … … 298 298 #endif 299 299 300 delete m_cache;300 // delete m_cache; 301 301 delete m_powers; 302 302 … … 320 320 #endif 321 321 322 CCacheHash<poly>::CCacheItem* pLookup;323 324 int b = m_cache->LookupEE(expLeft, expRight, pLookup);325 // TODO!!!326 327 // up to now:328 assume( b == -1 );322 // CCacheHash<poly>::CCacheItem* pLookup; 323 // 324 // int b = m_cache->LookupEE(expLeft, expRight, pLookup); 325 // // TODO!!! 326 // 327 // // up to now: 328 // assume( b == -1 ); 329 329 330 330 // TODO: use PowerMultiplier!!!! … … 469 469 } 470 470 471 // TODO! 472 473 474 m_cache->StoreEE( expLeft, expRight, product); 475 // up to now: 471 // // TODO! 472 // 473 // m_cache->StoreEE( expLeft, expRight, product); 474 // // up to now: 476 475 return product; 477 476 } -
kernel/ncSAMult.h
ref358a ref7b98 16 16 #include <kernel/p_Mult_q.h> 17 17 18 #include <kernel/ncSACache.h> // for CCacheHash etc classes18 // #include <kernel/ncSACache.h> // for CCacheHash etc classes 19 19 #include <kernel/ncSAFormula.h> // for CFormulaPowerMultiplier and enum Enum_ncSAType 20 20 … … 267 267 { 268 268 private: 269 CGlobalCacheHash* m_cache;269 // CGlobalCacheHash* m_cache; 270 270 CPowerMultiplier* m_powers; 271 271 const CFormulaPowerMultiplier* m_RingFormulaMultiplier;
Note: See TracChangeset
for help on using the changeset viewer.