Changeset 04fd15 in git


Ignore:
Timestamp:
Dec 10, 2020, 10:20:37 AM (3 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
e3cb5594049a95a6761e0f1503ff435e561bd326
Parents:
c1430e8262ecf2dd46dd62c771db75e0e64ed603
Message:
fix: intersection ->intersectionSet (duplicate)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/LIB/sets.lib

    rc1430e8 r04fd15  
    3434
    3535KEYWORDS:
    36 set, intersection, union, complement, equality, isEqual
     36set, intersectionSet, union, complement, equality, isEqual
    3737
    3838TYPES:
     
    4242set(list)               general procedure to generate a set from a list
    4343union(Set,Set)          union of sets
    44 intersection(Set,Set)  intersection of sets
     44intersectionSet(Set,Set) intersection of sets
    4545complement(Set,Set)     complement of sets
    4646isElement(def,Set)      test whether an object is in a set
     
    5757  system("install","Set","print",printSet,1);
    5858  system("install","Set","+",union,2);
    59   system("install","Set","*",intersection,2);
     59  system("install","Set","*",intersectionSet,2);
    6060  system("install","Set","<",isSubset,2);
    6161  system("install","Set","size",sizeSet,1);
     
    394394}
    395395
    396 proc intersection(Set N, Set M)
    397 "USAGE: intersection(N,M) or N*M; N,M sets
     396proc intersectionSet(Set N, Set M)
     397"USAGE: intersectionSet(N,M) or N*M; N,M sets
    398398RETURN: Set, the interseection of the sets N and M
    399399EXAMPLE: example intersection, shows an example
     400KEYWORDS: intersection
    400401"
    401402{
Note: See TracChangeset for help on using the changeset viewer.