![]() |
#include <misc/auxiliary.h>#include "nc.h"#include "sca.h"#include "gb_hack.h"#include <polys/monomials/ring.h>#include <coeffs/numbers.h>#include <polys/coeffrings.h>#include <misc/options.h>#include <polys/monomials/p_polys.h>#include <polys/simpleideals.h>#include <polys/matpol.h>#include <polys/kbuckets.h>#include <polys/sbuckets.h>#include <polys/prCopy.h>#include <polys/operations/p_Mult_q.h>#include "summator.h"#include "ncSAMult.h"#include "ncSAFormula.h"Go to the source code of this file.
Macros | |
| #define | MYTEST 0 |
| #define | OUTPUT 0 |
| #define | PLURAL_INTERNAL_DECLARATIONS |
| #define | freeT(A, v) omFreeSize((ADDRESS)A,(v+1)*sizeof(int)) |
| #define | freeN(A, k) omFreeSize((ADDRESS)A,k*sizeof(number)) |
Functions | |
| poly | nc_p_CopyGet (poly a, const ring r) |
| poly | nc_p_CopyPut (poly a, const ring r) |
| poly | nc_p_Bracket_qq (poly p, const poly q, const ring r) |
| returns [p,q], destroys p More... | |
| int & | getNCExtensions () |
| int | setNCExtensions (int iMask) |
| bool | ncExtensions (int iMask) |
| poly | gnc_pp_Mult_mm (const poly p, const poly m, const ring r, poly &last) |
| poly | gnc_p_Mult_mm (poly p, const poly m, const ring r) |
| poly | gnc_mm_Mult_p (const poly m, poly p, const ring r) |
| poly | gnc_mm_Mult_pp (const poly m, const poly p, const ring r) |
| poly | gnc_CreateSpolyOld (const poly p1, const poly p2, const ring r) |
| poly | gnc_ReduceSpolyOld (const poly p1, poly p2, const ring r) |
| poly | gnc_CreateSpolyNew (const poly p1, const poly p2, const ring r) |
| poly | gnc_ReduceSpolyNew (const poly p1, poly p2, const ring r) |
| void | gnc_kBucketPolyRedNew (kBucket_pt b, poly p, number *c) |
| void | gnc_kBucketPolyRed_ZNew (kBucket_pt b, poly p, number *c) |
| void | gnc_kBucketPolyRedOld (kBucket_pt b, poly p, number *c) |
| void | gnc_kBucketPolyRed_ZOld (kBucket_pt b, poly p, number *c) |
| void | nc_CleanUp (nc_struct *p) |
| void | nc_rCleanUp (ring r) |
| poly | p_Lcm (const poly a, const poly b, const long lCompM, const ring r) |
| poly | p_Lcm (const poly a, const poly b, const ring r) |
| poly | nc_p_Minus_mm_Mult_qq (poly p, const poly m, const poly q, int &shorter, const poly, const ring r) |
| for p_Minus_mm_Mult_qq in pInline2.h More... | |
| poly | nc_p_Plus_mm_Mult_qq (poly p, const poly m, const poly q, int &lp, const int, const ring r) |
| poly | _gnc_p_Mult_q (poly p, poly q, const int copy, const ring r) |
| poly | _nc_p_Mult_q (poly pPolyP, poly pPolyQ, const ring rRing) |
| general NC-multiplication with destruction More... | |
| poly | _nc_pp_Mult_qq (const poly pPolyP, const poly pPolyQ, const ring rRing) |
| general NC-multiplication without destruction More... | |
| poly | gnc_mm_Mult_nn (int *F, int *G, const ring r) |
| poly | gnc_mm_Mult_uu (int *F, int jG, int bG, const ring r) |
| poly | gnc_uu_Mult_ww (int i, int a, int j, int b, const ring r) |
| poly | gnc_p_Mult_mm_Common (poly p, const poly m, int side, const ring r) |
| poly | gnc_pp_Mult_mm (const poly p, const poly m, const ring r) |
| poly | gnc_uu_Mult_ww_vert (int i, int a, int j, int b, const ring r) |
| static poly | gnc_uu_Mult_ww_formula (int i, int a, int j, int b, const ring r) |
| poly | gnc_uu_Mult_ww_horvert (int i, int a, int j, int b, const ring r) |
| poly | nc_CreateShortSpoly (poly p1, poly p2, const ring r) |
| void | nc_PolyPolyRedOld (poly &b, poly p, number *c, const ring r) |
| void | nc_PolyPolyRedNew (poly &b, poly p, number *c, const ring r) |
| void | nc_PolyPolyRed (poly &b, poly p, number *c, const ring r) |
| poly | nc_mm_Bracket_nn (poly m1, poly m2, const ring r) |
| returns [m1,m2] for two monoms, destroys nothing without coeffs More... | |
| matrix | nc_PrintMat (int a, int b, ring r, int metric) |
| returns matrix with the info on noncomm multiplication More... | |
| void | nc_CleanUp (ring r) |
| void | nc_rKill (ring r) |
| complete destructor More... | |
| BOOLEAN | nc_CheckSubalgebra (poly PolyVar, ring r) |
| BOOLEAN | gnc_CheckOrdCondition (matrix D, ring r) |
| BOOLEAN | gnc_InitMultiplication (ring r, bool bSetupQuotient=false) |
| BOOLEAN | nc_CallPlural (matrix CCC, matrix DDD, poly CCN, poly DDN, ring r, bool bSetupQuotient, bool bCopyInput, bool bBeQuiet, ring curr, bool dummy_ring) |
| returns TRUE if there were errors analyze inputs, check them for consistency detects nc_type, DO NOT initialize multiplication but call for it at the end checks the ordering condition and evtl. NDC NOTE: all the data belong to the curr, we change r which may be the same ring, and must have the same representation! More... | |
| bool | nc_rCopy (ring res, const ring r, bool bSetupQuotient) |
| static void | gnc_p_ProcsSet (ring rGR, p_Procs_s *p_Procs) |
| void | nc_p_ProcsSet (ring rGR, p_Procs_s *p_Procs) |
| poly | nc_pSubst (poly p, int n, poly e, const ring r) |
| substitute the n-th variable by e in p destroy p e is not a constant More... | |
| ring | nc_rCreateNCcomm (ring r) |
| poly | p_CopyEmbed (poly p, ring srcRing, int shift, int, ring dstRing) |
| BOOLEAN | rIsLikeOpposite (ring rBase, ring rCandidate) |
| checks whether rings rBase and rCandidate could be opposite to each other returns TRUE if it is so More... | |
| poly | pOppose (ring Rop, poly p, const ring dst) |
| opposes a vector p from Rop to currRing (dst!) More... | |
| ideal | idOppose (ring Rop, ideal I, const ring dst) |
| opposes a module I from Rop to currRing(dst) More... | |
| bool | nc_SetupQuotient (ring rGR, const ring rG, bool bCopy) |
Variables | |
| int | iNCExtensions = SCAMASK | NOFORMULAMASK |
Definition at line 95 of file old.gring.cc.
Definition at line 94 of file old.gring.cc.
| #define MYTEST 0 |
Definition at line 11 of file old.gring.cc.
| #define OUTPUT 0 |
Definition at line 12 of file old.gring.cc.
| #define PLURAL_INTERNAL_DECLARATIONS |
Definition at line 26 of file old.gring.cc.
Definition at line 236 of file old.gring.cc.
general NC-multiplication with destruction
Definition at line 261 of file old.gring.cc.
general NC-multiplication without destruction
Definition at line 300 of file old.gring.cc.
| int& getNCExtensions | ( | ) |
Definition at line 75 of file old.gring.cc.
Definition at line 2679 of file old.gring.cc.
Definition at line 1605 of file old.gring.cc.
Definition at line 1517 of file old.gring.cc.
Definition at line 3087 of file old.gring.cc.
| void gnc_kBucketPolyRed_ZNew | ( | kBucket_pt | b, |
| poly | p, | ||
| number * | c | ||
| ) |
Definition at line 2113 of file old.gring.cc.
| void gnc_kBucketPolyRed_ZOld | ( | kBucket_pt | b, |
| poly | p, | ||
| number * | c | ||
| ) |
Definition at line 2080 of file old.gring.cc.
| void gnc_kBucketPolyRedNew | ( | kBucket_pt | b, |
| poly | p, | ||
| number * | c | ||
| ) |
Definition at line 2000 of file old.gring.cc.
| void gnc_kBucketPolyRedOld | ( | kBucket_pt | b, |
| poly | p, | ||
| number * | c | ||
| ) |
Definition at line 1967 of file old.gring.cc.
Definition at line 460 of file old.gring.cc.
Definition at line 448 of file old.gring.cc.
Definition at line 453 of file old.gring.cc.
Definition at line 719 of file old.gring.cc.
Definition at line 443 of file old.gring.cc.
Definition at line 347 of file old.gring.cc.
|
inlinestatic |
Definition at line 3187 of file old.gring.cc.
Definition at line 438 of file old.gring.cc.
Definition at line 1444 of file old.gring.cc.
Definition at line 1388 of file old.gring.cc.
Definition at line 1085 of file old.gring.cc.
Definition at line 1052 of file old.gring.cc.
Definition at line 1190 of file old.gring.cc.
Definition at line 977 of file old.gring.cc.
opposes a module I from Rop to currRing(dst)
Definition at line 3453 of file old.gring.cc.
| BOOLEAN nc_CallPlural | ( | matrix | CCC, |
| matrix | DDD, | ||
| poly | CCN, | ||
| poly | DDN, | ||
| ring | r, | ||
| bool | bSetupQuotient, | ||
| bool | bCopyInput, | ||
| bool | bBeQuiet, | ||
| ring | curr, | ||
| bool | dummy_ring | ||
| ) |
returns TRUE if there were errors analyze inputs, check them for consistency detects nc_type, DO NOT initialize multiplication but call for it at the end checks the ordering condition and evtl. NDC NOTE: all the data belong to the curr, we change r which may be the same ring, and must have the same representation!
Definition at line 2734 of file old.gring.cc.
Definition at line 2620 of file old.gring.cc.
|
inline |
Definition at line 2513 of file old.gring.cc.
|
inline |
Definition at line 2519 of file old.gring.cc.
Definition at line 1926 of file old.gring.cc.
returns [m1,m2] for two monoms, destroys nothing without coeffs
Definition at line 2336 of file old.gring.cc.
returns [p,q], destroys p
Definition at line 2295 of file old.gring.cc.
Definition at line 2578 of file old.gring.cc.
Definition at line 2599 of file old.gring.cc.
| poly nc_p_Minus_mm_Mult_qq | ( | poly | p, |
| const poly | m, | ||
| const poly | q, | ||
| int & | shorter, | ||
| const poly | , | ||
| const ring | r | ||
| ) |
for p_Minus_mm_Mult_qq in pInline2.h
Definition at line 196 of file old.gring.cc.
| poly nc_p_Plus_mm_Mult_qq | ( | poly | p, |
| const poly | m, | ||
| const poly | q, | ||
| int & | lp, | ||
| const int | , | ||
| const ring | r | ||
| ) |
Definition at line 214 of file old.gring.cc.
| void nc_p_ProcsSet | ( | ring | rGR, |
| p_Procs_s * | p_Procs | ||
| ) |
Definition at line 3251 of file old.gring.cc.
Definition at line 2282 of file old.gring.cc.
Definition at line 2182 of file old.gring.cc.
Definition at line 2148 of file old.gring.cc.
returns matrix with the info on noncomm multiplication
Definition at line 2446 of file old.gring.cc.
substitute the n-th variable by e in p destroy p e is not a constant
Definition at line 3275 of file old.gring.cc.
| void nc_rCleanUp | ( | ring | r | ) |
| bool nc_rCopy | ( | ring | res, |
| const ring | r, | ||
| bool | bSetupQuotient | ||
| ) |
Definition at line 3075 of file old.gring.cc.
| ring nc_rCreateNCcomm | ( | ring | r | ) |
Definition at line 3326 of file old.gring.cc.
| void nc_rKill | ( | ring | r | ) |
| bool nc_SetupQuotient | ( | ring | rGR, |
| const ring | rG, | ||
| bool | bCopy | ||
| ) |
Definition at line 3475 of file old.gring.cc.
| bool ncExtensions | ( | int | iMask | ) |
Definition at line 87 of file old.gring.cc.
Definition at line 3350 of file old.gring.cc.
Definition at line 147 of file old.gring.cc.
Definition at line 175 of file old.gring.cc.
opposes a vector p from Rop to currRing (dst!)
Definition at line 3414 of file old.gring.cc.
| BOOLEAN rIsLikeOpposite | ( | ring | rBase, |
| ring | rCandidate | ||
| ) |
checks whether rings rBase and rCandidate could be opposite to each other returns TRUE if it is so
Definition at line 3387 of file old.gring.cc.
Definition at line 80 of file old.gring.cc.
| int iNCExtensions = SCAMASK | NOFORMULAMASK |
Definition at line 73 of file old.gring.cc.