Changeset fa19d3 in git


Ignore:
Timestamp:
Nov 22, 2006, 10:43:27 PM (17 years ago)
Author:
Viktor Levandovskyy <levandov@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
688c5f840bb21a424c4b9fa6527595a7dd39d409
Parents:
0d8f37995e9b1387eccdb6e605e94ea50e2f0942
Message:
*levandov: changes names of aux vars, minor fixes


git-svn-id: file:///usr/local/Singular/svn/trunk@9512 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/involut.lib

    r0d8f37 rfa19d3  
    1 version="$Id: involut.lib,v 1.10 2006-11-13 11:35:28 Singular Exp $";
     1version="$Id: involut.lib,v 1.11 2006-11-22 21:43:27 levandov Exp $";
    22category="Noncommutative";
    33info="
     
    435435  matrix Rel = RelMatr(); //the matrix of relations
    436436
    437   string s   = new_var(); //string of new variables
     437  string @ss   = new_var(); //string of new variables
    438438  string Par = parstr(@B); //string of parameters in old ring
    439439
    440440  if (Par=="") // if there are no parameters
    441441  {
    442     execute("ring @@K=0,("+varstr(@B)+","+s+"), dp;"); //new ring with new variables
     442    execute("ring @@K=0,("+varstr(@B)+","+@ss+"), dp;"); //new ring with new variables
    443443  }
    444444  else //if there exist parameters
    445445  {
    446      execute("ring @@K=(0,"+Par+") ,("+varstr(@B)+","+s+"), dp;");//new ring with new variables
     446     execute("ring @@K=(0,"+Par+") ,("+varstr(@B)+","+@ss+"), dp;");//new ring with new variables
    447447  };
    448448
     
    498498  if ( Par=="" ) //initializes the ring of relations
    499499  {
    500     execute("ring @@KK=0,("+s+"), dp;");
     500    execute("ring @@KK=0,("+@ss+"), dp;");
    501501  }
    502502  else
    503503  {
    504     execute("ring @@KK=(0,"+Par+"),("+s+"), dp;");
     504    execute("ring @@KK=(0,"+Par+"),("+@ss+"), dp;");
    505505  };
    506506  ideal J = imap(@@K,J); // ideal, considered in @@KK now
    507507  string snv = "["+string(NVars)+"]";
    508   execute("matrix @@D"+snv+snv+"="+s+";"); // matrix with entries=new variables
     508  execute("matrix @@D"+snv+snv+"="+@ss+";"); // matrix with entries=new variables
    509509
    510510  J = J, ideal( @@D*@@D-matrix( freemodule(NVars) ) ); // add the condition that involution to square is just identity
     
    562562  matrix Rel = RelMatr(); //the matrix of relations
    563563
    564   string s   = new_var_special(); //string of new variables
     564  string @ss   = new_var_special(); //string of new variables
    565565  string Par = parstr(@B); //string of parameters in old ring
    566566
    567567  if (Par=="") // if there are no parameters
    568568  {
    569     execute("ring @@K=0,("+varstr(@B)+","+s+"), dp;"); //new ring with new variables
     569    execute("ring @@K=0,("+varstr(@B)+","+@ss+"), dp;"); //new ring with new variables
    570570  }
    571571  else //if there exist parameters
    572572  {
    573     execute("ring @@K=(0,"+Par+") ,("+varstr(@B)+","+s+"), dp;");//new ring with new variables
     573    execute("ring @@K=(0,"+Par+") ,("+varstr(@B)+","+@ss+"), dp;");//new ring with new variables
    574574  };
    575575
     
    621621  if ( Par=="" ) //initializes the ring of relations
    622622  {
    623     execute("ring @@KK=0,("+s+"), dp;");
     623    execute("ring @@KK=0,("+@ss+"), dp;");
    624624  }
    625625  else
    626626  {
    627     execute("ring @@KK=(0,"+Par+"),("+s+"), dp;");
     627    execute("ring @@KK=(0,"+Par+"),("+@ss+"), dp;");
    628628  };
    629629
Note: See TracChangeset for help on using the changeset viewer.