Example #1
0
 /// <summary>
 /// Get the percentile value of array data in specific place.
 /// </summary>
 /// <param name="data">The array data to calculate statistic value.</param>
 /// <param name="place">The place to calculate percentile. Invalid value from 0 to 100.</param>
 /// <returns>The percentile value of array data in specific place.</returns>
 public static float Percentile(float[] data, int place)
 {
     return(ArrayStatistics.PercentileInplace(data, place));
 }
Example #2
0
 /// <summary>
 /// Get the percentile value of array data in specific place.
 /// </summary>
 /// <param name="data">The array data to calculate statistic value.</param>
 /// <param name="place">The place to calculate percentile. Invalid value from 0 to 100.</param>
 /// <returns>The percentile value of array data in specific place.</returns>
 public static double Percentile(double[] data, int place)
 {
     return(ArrayStatistics.PercentileInplace(data, place));
 }