Changeset d6a97c3 in git
- Timestamp:
- Apr 11, 2011, 3:17:12 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 2ad10e9bccb45c1c7d3c33a6cd3de52209778816
- Parents:
- 40d064981b228dd3692e8e17e5a065cfba2599a2
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-04-11 15:17:12+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:04:22+01:00
- Location:
- libpolys/polys
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/Makefile.am
r40d0649 rd6a97c3 35 35 templates/p_Procs_Lib.cc \ 36 36 polys0.cc prCopy.cc \ 37 nc/ sca.cc nc/gring.cc \37 nc/gring.cc nc/sca.cc nc/summator.cc nc/ncSAFormula.cc nc/ncSACache.cc \ 38 38 kbuckets.cc sbuckets.cc ${USE_P_PROCS_STATIC_CC} ${USE_P_PROCS_DYNAMIC_CC} weight.cc 39 39 -
libpolys/polys/nc/gring.cc
r40d0649 rd6a97c3 24 24 25 25 # define PLURAL_INTERNAL_DECLARATIONS 26 #include <polys/nc/nc.h>27 #include <polys/nc/sca.h>26 #include "nc/nc.h" 27 #include "nc/sca.h" 28 28 29 29 #include <coeffs/numbers.h> 30 #include <polys/coeffrings.h>30 #include "coeffrings.h" 31 31 32 32 // #include <polys/febase.h> 33 33 #include <misc/options.h> 34 #include <polys/monomials/ring.h> 35 #include <polys/monomials/p_polys.h> 36 37 #include <polys/simpleideals.h> 38 #include <polys/matpol.h> 39 40 #include <polys/kbuckets.h> 41 #include <polys/sbuckets.h> 34 35 #include "monomials/ring.h" 36 #include "monomials/p_polys.h" 37 38 #include "simpleideals.h" 39 #include "matpol.h" 40 41 #include "kbuckets.h" 42 #include "sbuckets.h" 42 43 43 44 // #include <polys/kstd1.h> 44 #include <polys/prCopy.h>45 46 #include <polys/operations/p_Mult_q.h>45 #include "prCopy.h" 46 47 #include "operations/p_Mult_q.h" 47 48 // dirty tricks: 48 #include <polys/templates/p_MemAdd.h>49 #include "templates/p_MemAdd.h" 49 50 50 51 // #include <polys/pInline1.h> … … 52 53 53 54 54 #include <polys/nc/summator.h>55 56 #include <polys/nc/ncSAMult.h>// for CMultiplier etc classes57 #include <polys/nc/ncSAFormula.h>// for CFormulaPowerMultiplier and enum Enum_ncSAType55 #include "nc/summator.h" 56 57 #include "nc/ncSAMult.h" // for CMultiplier etc classes 58 #include "nc/ncSAFormula.h" // for CFormulaPowerMultiplier and enum Enum_ncSAType 58 59 59 60 // #ifdef HAVE_RATGRING -
libpolys/polys/nc/gring.h
r40d0649 rd6a97c3 159 159 160 160 161 // inline const nc_struct* GetNC() const { return GetBasering()->GetNC(); }162 163 164 // read only access to NC matrices C/D:165 // get C_{i,j}, 1 <= row = i < j = col <= N166 inline poly GetC( const ring r, int i, int j )167 {168 assume(r!= NULL && rIsPluralRing(r));169 const matrix C = GetNC(r)->C;170 assume(C != NULL);171 const int ncols = C->ncols;172 assume( (i > 0) && (i < j) && (j <= ncols) );173 return ( C->m[ncols * ((i)-1) + (j)-1] );174 }175 176 // get D_{i,j}, 1 <= row = i < j = col <= N177 inline poly GetD( const ring r, int i, int j )178 {179 assume(r!= NULL && rIsPluralRing(r));180 const matrix D = GetNC(r)->D;181 assume(D != NULL);182 const int ncols = D->ncols;183 assume( (i > 0) && (i < j) && (j <= ncols) );184 return ( D->m[ncols * ((i)-1) + (j)-1] );185 }186 187 188 161 #ifdef PLURAL_INTERNAL_DECLARATIONS 189 162 -
libpolys/polys/nc/nc.h
r40d0649 rd6a97c3 369 369 370 370 371 371 #ifdef PLURAL_INTERNAL_DECLARATIONS 372 373 #include <polys/matpol.h> 374 375 // read only access to NC matrices C/D: 376 // get C_{i,j}, 1 <= row = i < j = col <= N 377 static inline poly GetC( const ring r, int i, int j ) 378 { 379 assume(r!= NULL && rIsPluralRing(r)); 380 const matrix C = GetNC(r)->C; 381 assume(C != NULL); 382 const int ncols = C->ncols; 383 assume( (i > 0) && (i < j) && (j <= ncols) ); 384 return ( C->m[ncols * ((i)-1) + (j)-1] ); 385 } 386 387 // get D_{i,j}, 1 <= row = i < j = col <= N 388 static inline poly GetD( const ring r, int i, int j ) 389 { 390 assume(r!= NULL && rIsPluralRing(r)); 391 const matrix D = GetNC(r)->D; 392 assume(D != NULL); 393 const int ncols = D->ncols; 394 assume( (i > 0) && (i < j) && (j <= ncols) ); 395 return ( D->m[ncols * ((i)-1) + (j)-1] ); 396 } 397 398 #endif /* PLURAL_INTERNAL_DECLARATIONS */ 372 399 373 400 #endif /* HAVE_PLURAL */ -
libpolys/polys/nc/ncSACache.cc
r40d0649 rd6a97c3 19 19 20 20 21 #include <kernel/mod2.h> 21 #include "config.h" 22 #include <misc/auxiliary.h> 22 23 23 24 #ifndef NDEBUG … … 32 33 } 33 34 34 #include < kernel/ring.h>35 #include <kernel/p_polys.h>35 #include <coeffs/numbers.h> 36 #include "coeffrings.h" 36 37 37 #include <kernel/ncSACache.h> // for CCacheHash etc classes 38 #include "nc/ncSACache.h" // for CCacheHash etc classes 39 40 #include "monomials/ring.h" 41 #include "monomials/p_polys.h" 42 38 43 39 44 -
libpolys/polys/nc/ncSAFormula.cc
r40d0649 rd6a97c3 19 19 20 20 21 #include <kernel/mod2.h> 21 #include "config.h" 22 #include <misc/auxiliary.h> 22 23 23 24 #ifdef HAVE_PLURAL 25 26 #define PLURAL_INTERNAL_DECLARATIONS 24 27 25 28 #ifndef NDEBUG … … 29 32 #endif 30 33 31 32 #include <ncSAFormula.h> // for CFormulaPowerMultiplier 33 34 #include <ring.h> 35 #include <p_polys.h> 36 #include <febase.h> 37 #include <sca.h> // for SCA 38 #include <polys.h> // for p_One 34 #include <reporter/reporter.h> 35 36 #include <coeffs/numbers.h> 37 #include "coeffrings.h" 38 39 #include "nc/ncSAFormula.h" 40 // for CFormulaPowerMultiplier 41 42 #include "monomials/ring.h" 43 #include "monomials/p_polys.h" 44 45 #include "nc/sca.h" 39 46 40 47 -
libpolys/polys/nc/ncSAFormula.h
r40d0649 rd6a97c3 12 12 13 13 #include <polys/monomials/ring.h> 14 #include <polys/nc/nc.h> 14 15 15 16 bool ncInitSpecialPowersMultiplication(ring r); … … 25 26 _ncSA_1xy0x0yG = 30 // Weyl 26 27 }; 27 28 29 inline CFormulaPowerMultiplier* GetFormulaPowerMultiplier(const ring r)30 {31 return r->GetNC()->GetFormulaPowerMultiplier();32 }33 28 34 29 class CFormulaPowerMultiplier … … 97 92 98 93 94 static inline CFormulaPowerMultiplier* GetFormulaPowerMultiplier(const ring r) 95 { 96 return r->GetNC()->GetFormulaPowerMultiplier(); 97 } 98 99 99 100 100 -
libpolys/polys/nc/sca.cc
r40d0649 rd6a97c3 27 27 // for 28 28 #define PLURAL_INTERNAL_DECLARATIONS 29 29 30 #include <polys/nc/sca.h> 30 31 #include <polys/nc/nc.h> … … 47 48 48 49 #include <polys/monomials/ring.h> 49 #include <polys/matpol.h>50 50 #include <polys/kbuckets.h> 51 51 // #include <polys/kstd1.h> -
libpolys/polys/nc/summator.cc
r40d0649 rd6a97c3 19 19 #endif 20 20 21 #include <kernel/mod2.h> 21 #include "config.h" 22 #include <misc/auxiliary.h> 23 22 24 #ifdef HAVE_PLURAL 23 #include <kernel/summator.h> 24 #include <kernel/options.h> 25 #include <kernel/ring.h> 26 #include <kernel/p_polys.h> 27 #include <kernel/sbuckets.h> 25 #include <misc/options.h> 26 27 #include "nc/summator.h" 28 #include "monomials/ring.h" 29 #include "monomials/p_polys.h" 30 31 #include "sbuckets.h" 28 32 29 33
Note: See TracChangeset
for help on using the changeset viewer.