コード例 #1
0
 public static NFSnCollection T(int k, NFSnCollection fsn)
 {
     foreach (NFSnElement fsne in fsn)
     {
         T(k, fsne.SnElement);
     }
     return(fsn);
 }
コード例 #2
0
        public static NFSnCollection operator *(NFSnCollection a, NPermutation b)
        {
            NFSnCollection result = new NFSnCollection();

            for (int i = 0; i < a.Count; i++)
            {
                NFSnElement el = new NFSnElement();
                el.FElement  = a[i].FElement;
                el.SnElement = (NPermutation)(a[i].SnElement * b);
                result.Add(el);
            }
            return(result);
        }