Example #1
0
        public static int[] OrderIndex(double[] array)
        {
            int[]      res    = ArrayM.FillWith(new int[array.Length], -1);
            List <int> ignore = new List <int>();

            for (int r = 0; r < res.Length; r++)
            {
                res[r] = HighestIndex(array, ignore.ToArray());
                ignore.Add(res[r]);
            }
            return(res);
        }
Example #2
0
 public static string UpperFormat(params string[] s)
 {
     return(s != null && s.Length > 0 ?
            UpperFormat(ArrayM.ToString(s, " ")) : null);
 }