Changeset 028192 in git for libpolys/polys/nc


Ignore:
Timestamp:
Mar 31, 2011, 7:37:45 PM (13 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '17f1d200f27c5bd38f5dfc6e8a0879242279d1d8')
Children:
ccd3333fa9eb4f770c3cca33d5e125c9565938ec
Parents:
3f2fb2cdc5019bbfc97d4fa27121402be181a8a3
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-03-31 19:37:45+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:04:17+01:00
Message:
FIX: p_polys.cc, ring.cc (mostly NC-stuff + ideals/matrices/numbers)
Location:
libpolys/polys/nc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/nc/gring.h

    r3f2fb2 r028192  
    1616#include <kernel/matpol.h>
    1717
    18 // the part, related to the interface
    19 // Changes r, Assumes that all other input belongs to curr
    20 BOOLEAN nc_CallPlural(matrix cc, matrix dd, poly cn, poly dn, ring r,
    21                       bool bSetupQuotient = false,
    22                       bool bCopyInput = true,
    23                       bool bBeQuiet = false,
    24                       ring curr = currRing,
    25                       bool dummy_ring = false
    26                       /* allow to create a nc-ring with 1 variable*/);
    27 
    2818// BOOLEAN nc_CheckOrdCondition(matrix D, ring r);
    2919// BOOLEAN nc_CheckOrdCondition(ring r); // with D == r->GetNC()->D
     
    4131// this should be used by p_ProcsSet in p_Procs_Set.h
    4232void nc_p_ProcsSet(ring rGR, p_Procs_s* p_Procs);
    43 
    44 // this function should be used inside QRing definition!
    45 // we go from rG into factor ring rGR with factor ideal rGR->qideal.
    46 bool nc_SetupQuotient(ring rGR, const ring rG = NULL, bool bCopy = false); // rG == NULL means that there is no base G-algebra
    4733
    4834
     
    5238ring nc_rCreateNCcomm(ring r);
    5339
    54 void nc_rKill(ring r); // complete destructor
    55 
    56 BOOLEAN nc_rComplete(const ring src, ring dest, bool bSetupQuotient = true); // in ring.cc
    57 
    58 bool nc_rCopy(ring res, const ring r, bool bSetupQuotient);
    59 
    6040
    6141// poly _gnc_p_Mult_q(poly p, poly q, const int copy, const ring r);
     
    6545poly _nc_pp_Mult_qq(const poly p, const poly q, const ring r);
    6646
    67 
    68 /* subst: */
    69 poly nc_pSubst(poly p, int n, poly e);
    7047
    7148/* copy : */
     
    9370
    9471poly p_CopyEmbed(poly p, ring srcRing, int shift, int par_shift);
    95 poly pOppose(ring Rop, poly p);
    96 ideal idOppose(ring Rop, ideal I);
    9772
    9873
     
    243218
    244219
    245 // Macros used to access upper triangle matrices C,D... (which are actually ideals) // afaik
    246 #define UPMATELEM(i,j,nVar) ( (nVar * ((i)-1) - ((i) * ((i)-1))/2 + (j)-1)-(i) )
    247220
    248221
  • libpolys/polys/nc/nc.h

    r3f2fb2 r028192  
    3737// //////////////////////////////////////////////////////
    3838
     39// Macros used to access upper triangle matrices C,D... (which are actually ideals) // afaik
     40#define UPMATELEM(i,j,nVar) ( (nVar * ((i)-1) - ((i) * ((i)-1))/2 + (j)-1)-(i) )
     41
     42/// complete destructor
     43void nc_rKill(ring r);
    3944
    4045
     
    303308
    304309
     310// the part, related to the interface
     311// Changes r, Assumes that all other input belongs to curr
     312BOOLEAN nc_CallPlural(matrix cc, matrix dd, poly cn, poly dn, ring r,
     313                      bool bSetupQuotient, //< false
     314                      bool bCopyInput, //< true
     315                      bool bBeQuiet, //< false
     316                      ring curr,
     317                      bool dummy_ring = false
     318                      /* allow to create a nc-ring with 1 variable*/);
     319
     320
     321BOOLEAN nc_rComplete(const ring src, ring dest, bool bSetupQuotient = true); // in ring.cc
     322
     323// this function should be used inside QRing definition!
     324// we go from rG into factor ring rGR with factor ideal rGR->qideal.
     325bool nc_SetupQuotient(ring rGR, const ring rG = NULL, bool bCopy = false); // rG == NULL means that there is no base G-algebra
     326
     327
     328bool nc_rCopy(ring res, const ring r, bool bSetupQuotient);
     329
     330poly pOppose(ring Rop_src, poly p, const ring Rop_dst);
     331ideal idOppose(ring Rop_src, ideal I, const ring Rop_dst);
     332
    305333#endif /* HAVE_PLURAL */
    306334
Note: See TracChangeset for help on using the changeset viewer.