Changeset 224420b in git


Ignore:
Timestamp:
Feb 8, 2010, 4:57:48 PM (13 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
Children:
b4ffba8b9a7046b1dd2251d561bbd258152ad7c8
Parents:
43525f2b3186f312a1677e0ce6e04823dc86a8c1
Message:
removed duplicate proc declarations when doing
LIB "all.lib";
i.e., no more "redefine" prompts

git-svn-id: file:///usr/local/Singular/svn/trunk@12529 2c84dea3-7e68-4137-9b89-c4e89433aadc
Location:
Singular/LIB
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/brnoeth.lib

    r43525f r224420b  
    508508}
    509509///////////////////////////////////////////////////////////////////////////////
    510 static proc subset (ideal I,ideal J)
     510static proc idealSubset (ideal I,ideal J)
    511511{
    512512  // checks wether I is contained in J and returns a boolean
     
    530530  if (typeof(P[1])=="ideal")
    531531  {
    532     return(subset(I,P[1]));
     532    return(idealSubset(I,P[1]));
    533533  }
    534534  else
     
    543543  // remark : I and J are assumed to be given by a standard basis
    544544  int answer=0;
    545   if (subset(I,J)==1)
    546   {
    547     if (subset(J,I)==1)
     545  if (idealSubset(I,J)==1)
     546  {
     547    if (idealSubset(J,I)==1)
    548548    {
    549549      answer=1;
  • Singular/LIB/crypto.lib

    r43525f r224420b  
    20772077}
    20782078
    2079 proc decode(string g)
    2080 "USAGE:  decode(s); s a string
     2079proc decodeString(string g)
     2080"USAGE:  decodeString(s); s a string
    20812081ASSUME:  s is a string of a number, the output of code
    20822082COMPUTE: a string, RSA-decoding of the string s
    20832083RETURN:  return RSA-decoding of the string s as string
    2084 EXAMPLE: decode;  shows an example
     2084EXAMPLE: decodeString;  shows an example
    20852085"
    20862086{
     
    21042104  string
    21052105s="78638618599886548153321853785991541374544958648147340831959482696082179852616053583234149080198937632782579537867262780982185252913122030800897193851413140758915381848932565";
    2106   string t=decode(s);
     2106  string t=decodeString(s);
    21072107  t;
    21082108}
  • Singular/LIB/gmspoly.lib

    r43525f r224420b  
    138138///////////////////////////////////////////////////////////////////////////////
    139139
    140 static proc vfilt(matrix B,int d)
     140static proc vfiltTuple(matrix B,int d)
    141141{
    142142  int mu=ncols(B);
     
    527527    setring(@S);
    528528
    529     e0,s0,V,B=vfilt(imap(@XS,A),d);
     529    e0,s0,V,B=vfiltTuple(imap(@XS,A),d);
    530530    a,e0,e,s,V,B,G=spec(e0,s0,V,B);
    531531
  • Singular/LIB/realrad.lib

    r43525f r224420b  
    6868  }
    6969  //sub are the subsets of {x_1,...,x_n}
    70   sub=subset(n);
     70  sub=subsets(n);
    7171  siz=size(sub)-1;//we dont want to localize on all variables
    7272
     
    582582   p=subst(p,@t,0);
    583583   p=realpoly(p);
    584    @s=subset(n-1);
     584   @s=subsets(n-1);
    585585   ideal jacs;
    586586   for (@z=1;@z<=size(@s);@z++)
     
    10751075}
    10761076
    1077 static proc subset(int n)
    1078 "USAGE :subset(n); n>=0 in Z
     1077static proc subsets(int n)
     1078"USAGE :subsets(n); n>=0 in Z
    10791079RETURN :l a list of all non-empty subsets of {1,..,n}
    1080 EXAMPLE:subset(n) shows an example;
     1080EXAMPLE:subsets(n) shows an example;
    10811081"
    10821082{
     
    11061106example
    11071107{ "EXAMPLE:"; echo = 2;
    1108   subset(3);
    1109   subset(4);
     1108  subsets(3);
     1109  subsets(4);
    11101110}
    11111111
Note: See TracChangeset for help on using the changeset viewer.