Changeset 8d1432e in git for libpolys/polys


Ignore:
Timestamp:
Dec 5, 2016, 2:46:15 PM (7 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '38dfc5131670d387a89455159ed1e071997eec94')
Children:
bcbdc40eee17977edd99e141f5ed89daa3a6ed56
Parents:
61e85543ff6e6160d3d8c6b8fba50eb327f41679
Message:
use of CoeffWrite/CoeffName/CoeffString p1
Location:
libpolys/polys
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • libpolys/polys/ext_fields/algext.cc

    r61e855 r8d1432e  
    408408  assume( P > 0 );
    409409
    410   Print("//   %d parameter    : ", P);
     410  PrintS("[");
    411411
    412412  for (int nop=0; nop < P; nop ++)
    413     Print("%s ", rRingVar(nop, A));
    414 
    415   PrintLn();
     413  {
     414    Print("%s", rRingVar(nop, A));
     415    if (nop!=P-1) PrintS(", ");
     416  }
     417
     418  PrintS("]/(");
    416419
    417420  const ideal I = A->qideal;
     
    423426  if ( details )
    424427  {
    425     PrintS("//   minpoly        : (");
    426428    p_Write0( I->m[0], A);
    427429    PrintS(")");
    428430  }
    429431  else
    430     PrintS("//   minpoly        : ...");
    431 
    432   PrintLn();
     432    PrintS("...)");
    433433
    434434/*
  • libpolys/polys/ext_fields/transext.cc

    r61e855 r8d1432e  
    787787  assume( P > 0 );
    788788
    789   Print("//   %d parameter    : ", P);
     789  PrintS("(");
    790790
    791791  for (int nop=0; nop < P; nop ++)
    792     Print("%s ", rRingVar(nop, A));
     792  {
     793    Print("%s", rRingVar(nop, A));
     794    if (nop!=P-1) PrintS(", ");
     795  }
     796
     797  PrintS(")");
    793798
    794799  assume( A->qideal == NULL );
    795 
    796   PrintS("\n//   minpoly        : 0\n");
    797800
    798801/*
  • libpolys/polys/monomials/ring.cc

    r61e855 r8d1432e  
    255255
    256256
     257  PrintS("// coefficients: ");
    257258  if( nCoeff_is_algExt(C) )
    258259  {
     
    270271  else
    271272    n_CoeffWrite(C, details);
     273  PrintLn();
    272274//   {
    273275//     PrintS("//   characteristic : ");
     
    308310//     }
    309311//   }
    310   Print("//   number of vars : %d",r->N);
     312  Print("// number of vars : %d",r->N);
    311313
    312314  //for (nblocks=0; r->order[nblocks]; nblocks++);
     
    388390  if(rIsPluralRing(r))
    389391  {
    390     PrintS("\n//   noncommutative relations:");
     392    PrintS("\n// noncommutative relations:");
    391393    if( details )
    392394    {
     
    411413
    412414#if MYTEST  /*Singularg should not differ from Singular except in error case*/
    413     Print("\n//   noncommutative type:%d", (int)ncRingType(r));
    414     Print("\n//      is skew constant:%d",r->GetNC()->IsSkewConstant);
     415    Print("\n// noncommutative type:%d", (int)ncRingType(r));
     416    Print("\n//    is skew constant:%d",r->GetNC()->IsSkewConstant);
    415417    if( rIsSCA(r) )
    416418    {
Note: See TracChangeset for help on using the changeset viewer.