@@ -241,7 +241,7 @@ public static IEnumerable<TResult> MaxN<TSource, TKey, TResult>(
241
241
/// </summary>
242
242
/// <param name="source">The sequence of values.</param>
243
243
/// <returns>The median value.</returns>
244
- public static double Median ( this IEnumerable < decimal > source )
244
+ public static decimal Median ( this IEnumerable < decimal > source )
245
245
{
246
246
throw CustomLinqExtensionMethodHelper . CreateNotSupportedException ( ) ;
247
247
}
@@ -251,7 +251,7 @@ public static double Median(this IEnumerable<decimal> source)
251
251
/// </summary>
252
252
/// <param name="source">The sequence of values.</param>
253
253
/// <returns>The median value.</returns>
254
- public static double ? Median ( this IEnumerable < decimal ? > source )
254
+ public static decimal ? Median ( this IEnumerable < decimal ? > source )
255
255
{
256
256
throw CustomLinqExtensionMethodHelper . CreateNotSupportedException ( ) ;
257
257
}
@@ -281,7 +281,7 @@ public static double Median(this IEnumerable<double> source)
281
281
/// </summary>
282
282
/// <param name="source">The sequence of values.</param>
283
283
/// <returns>The median value.</returns>
284
- public static double Median ( this IEnumerable < float > source )
284
+ public static float Median ( this IEnumerable < float > source )
285
285
{
286
286
throw CustomLinqExtensionMethodHelper . CreateNotSupportedException ( ) ;
287
287
}
@@ -291,7 +291,7 @@ public static double Median(this IEnumerable<float> source)
291
291
/// </summary>
292
292
/// <param name="source">The sequence of values.</param>
293
293
/// <returns>The median value.</returns>
294
- public static double ? Median ( this IEnumerable < float ? > source )
294
+ public static float ? Median ( this IEnumerable < float ? > source )
295
295
{
296
296
throw CustomLinqExtensionMethodHelper . CreateNotSupportedException ( ) ;
297
297
}
@@ -343,7 +343,7 @@ public static double Median(this IEnumerable<long> source)
343
343
/// <param name="source">A sequence of values to calculate the median of.</param>
344
344
/// <param name="selector">A transform function to apply to each element.</param>
345
345
/// <returns>The median value.</returns>
346
- public static double Median < TSource > ( this IEnumerable < TSource > source , Func < TSource , decimal > selector )
346
+ public static decimal Median < TSource > ( this IEnumerable < TSource > source , Func < TSource , decimal > selector )
347
347
{
348
348
throw CustomLinqExtensionMethodHelper . CreateNotSupportedException ( ) ;
349
349
}
@@ -355,7 +355,7 @@ public static double Median<TSource>(this IEnumerable<TSource> source, Func<TSou
355
355
/// <param name="source">A sequence of values to calculate the median of.</param>
356
356
/// <param name="selector">A transform function to apply to each element.</param>
357
357
/// <returns>The median value.</returns>
358
- public static double ? Median < TSource > ( this IEnumerable < TSource > source , Func < TSource , decimal ? > selector )
358
+ public static decimal ? Median < TSource > ( this IEnumerable < TSource > source , Func < TSource , decimal ? > selector )
359
359
{
360
360
throw CustomLinqExtensionMethodHelper . CreateNotSupportedException ( ) ;
361
361
}
@@ -391,7 +391,7 @@ public static double Median<TSource>(this IEnumerable<TSource> source, Func<TSou
391
391
/// <param name="source">A sequence of values to calculate the median of.</param>
392
392
/// <param name="selector">A transform function to apply to each element.</param>
393
393
/// <returns>The median value.</returns>
394
- public static double Median < TSource > ( this IEnumerable < TSource > source , Func < TSource , float > selector )
394
+ public static float Median < TSource > ( this IEnumerable < TSource > source , Func < TSource , float > selector )
395
395
{
396
396
throw CustomLinqExtensionMethodHelper . CreateNotSupportedException ( ) ;
397
397
}
@@ -403,7 +403,7 @@ public static double Median<TSource>(this IEnumerable<TSource> source, Func<TSou
403
403
/// <param name="source">A sequence of values to calculate the median of.</param>
404
404
/// <param name="selector">A transform function to apply to each element.</param>
405
405
/// <returns>The median value.</returns>
406
- public static double ? Median < TSource > ( this IEnumerable < TSource > source , Func < TSource , float ? > selector )
406
+ public static float ? Median < TSource > ( this IEnumerable < TSource > source , Func < TSource , float ? > selector )
407
407
{
408
408
throw CustomLinqExtensionMethodHelper . CreateNotSupportedException ( ) ;
409
409
}
@@ -499,7 +499,7 @@ public static IEnumerable<TResult> MinN<TSource, TKey, TResult>(
499
499
/// <param name="source">A sequence of values to calculate the percentiles of.</param>
500
500
/// <param name="percentiles">The percentiles to compute (each between 0.0 and 1.0).</param>
501
501
/// <returns>The percentiles of the sequence of values.</returns>
502
- public static double [ ] Percentile ( this IEnumerable < decimal > source , IEnumerable < double > percentiles )
502
+ public static decimal [ ] Percentile ( this IEnumerable < decimal > source , IEnumerable < double > percentiles )
503
503
{
504
504
throw CustomLinqExtensionMethodHelper . CreateNotSupportedException ( ) ;
505
505
}
@@ -510,7 +510,7 @@ public static double[] Percentile(this IEnumerable<decimal> source, IEnumerable<
510
510
/// <param name="source">A sequence of values to calculate the percentiles of.</param>
511
511
/// <param name="percentiles">The percentiles to compute (each between 0.0 and 1.0).</param>
512
512
/// <returns>The percentiles of the sequence of values.</returns>
513
- public static double ? [ ] Percentile ( this IEnumerable < decimal ? > source , IEnumerable < double > percentiles )
513
+ public static decimal ? [ ] Percentile ( this IEnumerable < decimal ? > source , IEnumerable < double > percentiles )
514
514
{
515
515
throw CustomLinqExtensionMethodHelper . CreateNotSupportedException ( ) ;
516
516
}
@@ -543,7 +543,7 @@ public static double[] Percentile(this IEnumerable<double> source, IEnumerable<d
543
543
/// <param name="source">A sequence of values to calculate the percentiles of.</param>
544
544
/// <param name="percentiles">The percentiles to compute (each between 0.0 and 1.0).</param>
545
545
/// <returns>The percentiles of the sequence of values.</returns>
546
- public static double [ ] Percentile ( this IEnumerable < float > source , IEnumerable < double > percentiles )
546
+ public static float [ ] Percentile ( this IEnumerable < float > source , IEnumerable < double > percentiles )
547
547
{
548
548
throw CustomLinqExtensionMethodHelper . CreateNotSupportedException ( ) ;
549
549
}
@@ -554,7 +554,7 @@ public static double[] Percentile(this IEnumerable<float> source, IEnumerable<do
554
554
/// <param name="source">A sequence of values to calculate the percentiles of.</param>
555
555
/// <param name="percentiles">The percentiles to compute (each between 0.0 and 1.0).</param>
556
556
/// <returns>The percentiles of the sequence of values.</returns>
557
- public static double ? [ ] Percentile ( this IEnumerable < float ? > source , IEnumerable < double > percentiles )
557
+ public static float ? [ ] Percentile ( this IEnumerable < float ? > source , IEnumerable < double > percentiles )
558
558
{
559
559
throw CustomLinqExtensionMethodHelper . CreateNotSupportedException ( ) ;
560
560
}
@@ -611,7 +611,7 @@ public static double[] Percentile(this IEnumerable<long> source, IEnumerable<dou
611
611
/// <param name="selector">A transform function to apply to each element.</param>
612
612
/// <param name="percentiles">The percentiles to compute (each between 0.0 and 1.0).</param>
613
613
/// <returns>The percentiles of the sequence of values.</returns>
614
- public static double [ ] Percentile < TSource > ( this IEnumerable < TSource > source , Func < TSource , decimal > selector , IEnumerable < double > percentiles )
614
+ public static decimal [ ] Percentile < TSource > ( this IEnumerable < TSource > source , Func < TSource , decimal > selector , IEnumerable < double > percentiles )
615
615
{
616
616
throw CustomLinqExtensionMethodHelper . CreateNotSupportedException ( ) ;
617
617
}
@@ -624,7 +624,7 @@ public static double[] Percentile<TSource>(this IEnumerable<TSource> source, Fun
624
624
/// <param name="selector">A transform function to apply to each element.</param>
625
625
/// <param name="percentiles">The percentiles to compute (each between 0.0 and 1.0).</param>
626
626
/// <returns>The percentiles of the sequence of values.</returns>
627
- public static double ? [ ] Percentile < TSource > ( this IEnumerable < TSource > source , Func < TSource , decimal ? > selector , IEnumerable < double > percentiles )
627
+ public static decimal ? [ ] Percentile < TSource > ( this IEnumerable < TSource > source , Func < TSource , decimal ? > selector , IEnumerable < double > percentiles )
628
628
{
629
629
throw CustomLinqExtensionMethodHelper . CreateNotSupportedException ( ) ;
630
630
}
@@ -663,7 +663,7 @@ public static double[] Percentile<TSource>(this IEnumerable<TSource> source, Fun
663
663
/// <param name="selector">A transform function to apply to each element.</param>
664
664
/// <param name="percentiles">The percentiles to compute (each between 0.0 and 1.0).</param>
665
665
/// <returns>The percentiles of the sequence of values.</returns>
666
- public static double [ ] Percentile < TSource > ( this IEnumerable < TSource > source , Func < TSource , float > selector , IEnumerable < double > percentiles )
666
+ public static float [ ] Percentile < TSource > ( this IEnumerable < TSource > source , Func < TSource , float > selector , IEnumerable < double > percentiles )
667
667
{
668
668
throw CustomLinqExtensionMethodHelper . CreateNotSupportedException ( ) ;
669
669
}
@@ -676,7 +676,7 @@ public static double[] Percentile<TSource>(this IEnumerable<TSource> source, Fun
676
676
/// <param name="selector">A transform function to apply to each element.</param>
677
677
/// <param name="percentiles">The percentiles to compute (each between 0.0 and 1.0).</param>
678
678
/// <returns>The percentiles of the sequence of values.</returns>
679
- public static double ? [ ] Percentile < TSource > ( this IEnumerable < TSource > source , Func < TSource , float ? > selector , IEnumerable < double > percentiles )
679
+ public static float ? [ ] Percentile < TSource > ( this IEnumerable < TSource > source , Func < TSource , float ? > selector , IEnumerable < double > percentiles )
680
680
{
681
681
throw CustomLinqExtensionMethodHelper . CreateNotSupportedException ( ) ;
682
682
}
0 commit comments