Example #1
0
 public static IronPythonEngine.Types.Set Intersect(IronPythonEngine.Types.Set s1, IronPythonEngine.Types.Set s2)
 {
     return IronPythonEngine.Types.Set.Intersect(s1, s2);
 }
Example #2
0
 public static IronPythonEngine.Types.Set Except(IronPythonEngine.Types.Set s1, IronPythonEngine.Types.Set s2)
 {
     return IronPythonEngine.Types.Set.Except(s1, s2);
 }
Example #3
0
 public static IronPythonEngine.Types.Set SortD(IronPythonEngine.Types.Set set)
 {
     var q = from i in set orderby i descending select i;
     return new IronPythonEngine.Types.Set(q.ToList());
 }
Example #4
0
 public static IronPythonEngine.Types.Set Union(IronPythonEngine.Types.Set s1, IronPythonEngine.Types.Set s2)
 {
     return IronPythonEngine.Types.Set.Union(s1, s2);
 }
Example #5
0
 public static IronPythonEngine.Types.Set Distinct(IronPythonEngine.Types.Set s1)
 {
     return IronPythonEngine.Types.Set.Distinct(s1);
 }