Пример #1
0
 internal static double GetAveragePower(ChartValues <ObservablePoint> values)
 {
     return(Math.Round(MathLogics.Sum(values, v => Math.Pow(v, 2)) / values.Count, 4));
 }
Пример #2
0
 internal static double GetVariation(ChartValues <ObservablePoint> values)
 {
     return(Math.Round(MathLogics.Sum(values, v => Math.Pow(v - ResultLogics.GetAverage(values), 2)) / values.Count, 4));
 }