Method Percentile
Percentile<TInput>(ISetWindowFieldsPartition<TInput>, Func<TInput, decimal>, IEnumerable<double>, SetWindowFieldsWindow)
Returns the values at the given percentiles. Percentile ignores non-numeric values.
public static decimal[] Percentile<TInput>(this ISetWindowFieldsPartition<TInput> partition, Func<TInput, decimal> selector, IEnumerable<double> percentiles, SetWindowFieldsWindow window = null)
Parameters
partition
ISetWindowFieldsPartition<TInput>The partition.
selector
Func<TInput, decimal>The selector that selects a value from the input document.
percentiles
IEnumerable<double>The percentiles (between 0.0 and 1.0).
window
SetWindowFieldsWindowThe window boundaries.
Returns
- decimal[]
The values at the given percentiles.
Type Parameters
TInput
The type of the input documents in the partition.
Percentile<TInput>(ISetWindowFieldsPartition<TInput>, Func<TInput, decimal?>, IEnumerable<double>, SetWindowFieldsWindow)
Returns the values at the given percentiles. Percentile ignores non-numeric values. Percentile returns results in the same order as the given percentiles.
public static decimal?[] Percentile<TInput>(this ISetWindowFieldsPartition<TInput> partition, Func<TInput, decimal?> selector, IEnumerable<double> percentiles, SetWindowFieldsWindow window = null)
Parameters
partition
ISetWindowFieldsPartition<TInput>The partition.
selector
Func<TInput, decimal?>The selector that selects a value from the input document.
percentiles
IEnumerable<double>The percentiles (between 0.0 and 1.0).
window
SetWindowFieldsWindowThe window boundaries.
Returns
- decimal?[]
The values at the given percentiles.
Type Parameters
TInput
The type of the input documents in the partition.
Percentile<TInput>(ISetWindowFieldsPartition<TInput>, Func<TInput, double>, IEnumerable<double>, SetWindowFieldsWindow)
Returns the values at the given percentiles. Percentile ignores non-numeric values. Percentile returns results in the same order as the given percentiles.
public static double[] Percentile<TInput>(this ISetWindowFieldsPartition<TInput> partition, Func<TInput, double> selector, IEnumerable<double> percentiles, SetWindowFieldsWindow window = null)
Parameters
partition
ISetWindowFieldsPartition<TInput>The partition.
selector
Func<TInput, double>The selector that selects a value from the input document.
percentiles
IEnumerable<double>The percentiles (between 0.0 and 1.0).
window
SetWindowFieldsWindowThe window boundaries.
Returns
- double[]
The values at the given percentiles.
Type Parameters
TInput
The type of the input documents in the partition.
Percentile<TInput>(ISetWindowFieldsPartition<TInput>, Func<TInput, double?>, IEnumerable<double>, SetWindowFieldsWindow)
Returns the values at the given percentiles. Percentile ignores non-numeric values. Percentile returns results in the same order as the given percentiles.
public static double?[] Percentile<TInput>(this ISetWindowFieldsPartition<TInput> partition, Func<TInput, double?> selector, IEnumerable<double> percentiles, SetWindowFieldsWindow window = null)
Parameters
partition
ISetWindowFieldsPartition<TInput>The partition.
selector
Func<TInput, double?>The selector that selects a value from the input document.
percentiles
IEnumerable<double>The percentiles (between 0.0 and 1.0).
window
SetWindowFieldsWindowThe window boundaries.
Returns
- double?[]
The values at the given percentiles.
Type Parameters
TInput
The type of the input documents in the partition.
Percentile<TInput>(ISetWindowFieldsPartition<TInput>, Func<TInput, float>, IEnumerable<double>, SetWindowFieldsWindow)
Returns the values at the given percentiles. Percentile ignores non-numeric values. Percentile returns results in the same order as the given percentiles.
public static float[] Percentile<TInput>(this ISetWindowFieldsPartition<TInput> partition, Func<TInput, float> selector, IEnumerable<double> percentiles, SetWindowFieldsWindow window = null)
Parameters
partition
ISetWindowFieldsPartition<TInput>The partition.
selector
Func<TInput, float>The selector that selects a value from the input document.
percentiles
IEnumerable<double>The percentiles (between 0.0 and 1.0).
window
SetWindowFieldsWindowThe window boundaries.
Returns
- float[]
The values at the given percentiles.
Type Parameters
TInput
The type of the input documents in the partition.
Percentile<TInput>(ISetWindowFieldsPartition<TInput>, Func<TInput, float?>, IEnumerable<double>, SetWindowFieldsWindow)
Returns the values at the given percentiles. Percentile ignores non-numeric values. Percentile returns results in the same order as the given percentiles.
public static float?[] Percentile<TInput>(this ISetWindowFieldsPartition<TInput> partition, Func<TInput, float?> selector, IEnumerable<double> percentiles, SetWindowFieldsWindow window = null)
Parameters
partition
ISetWindowFieldsPartition<TInput>The partition.
selector
Func<TInput, float?>The selector that selects a value from the input document.
percentiles
IEnumerable<double>The percentiles (between 0.0 and 1.0).
window
SetWindowFieldsWindowThe window boundaries.
Returns
- float?[]
The values at the given percentiles.
Type Parameters
TInput
The type of the input documents in the partition.
Percentile<TInput>(ISetWindowFieldsPartition<TInput>, Func<TInput, int>, IEnumerable<double>, SetWindowFieldsWindow)
Returns the values at the given percentiles. Percentile ignores non-numeric values. Percentile returns results in the same order as the given percentiles.
public static double[] Percentile<TInput>(this ISetWindowFieldsPartition<TInput> partition, Func<TInput, int> selector, IEnumerable<double> percentiles, SetWindowFieldsWindow window = null)
Parameters
partition
ISetWindowFieldsPartition<TInput>The partition.
selector
Func<TInput, int>The selector that selects a value from the input document.
percentiles
IEnumerable<double>The percentiles (between 0.0 and 1.0).
window
SetWindowFieldsWindowThe window boundaries.
Returns
- double[]
The values at the given percentiles.
Type Parameters
TInput
The type of the input documents in the partition.
Percentile<TInput>(ISetWindowFieldsPartition<TInput>, Func<TInput, int?>, IEnumerable<double>, SetWindowFieldsWindow)
Returns the values at the given percentiles. Percentile ignores non-numeric values. Percentile returns results in the same order as the given percentiles.
public static double?[] Percentile<TInput>(this ISetWindowFieldsPartition<TInput> partition, Func<TInput, int?> selector, IEnumerable<double> percentiles, SetWindowFieldsWindow window = null)
Parameters
partition
ISetWindowFieldsPartition<TInput>The partition.
selector
Func<TInput, int?>The selector that selects a value from the input document.
percentiles
IEnumerable<double>The percentiles (between 0.0 and 1.0).
window
SetWindowFieldsWindowThe window boundaries.
Returns
- double?[]
The values at the given percentiles.
Type Parameters
TInput
The type of the input documents in the partition.
Percentile<TInput>(ISetWindowFieldsPartition<TInput>, Func<TInput, long>, IEnumerable<double>, SetWindowFieldsWindow)
Returns the values at the given percentiles. Percentile ignores non-numeric values. Percentile returns results in the same order as the given percentiles.
public static double[] Percentile<TInput>(this ISetWindowFieldsPartition<TInput> partition, Func<TInput, long> selector, IEnumerable<double> percentiles, SetWindowFieldsWindow window = null)
Parameters
partition
ISetWindowFieldsPartition<TInput>The partition.
selector
Func<TInput, long>The selector that selects a value from the input document.
percentiles
IEnumerable<double>The percentiles (between 0.0 and 1.0).
window
SetWindowFieldsWindowThe window boundaries.
Returns
- double[]
The values at the given percentiles.
Type Parameters
TInput
The type of the input documents in the partition.
Percentile<TInput>(ISetWindowFieldsPartition<TInput>, Func<TInput, long?>, IEnumerable<double>, SetWindowFieldsWindow)
Returns the values at the given percentiles. Percentile ignores non-numeric values. Percentile returns results in the same order as the given percentiles.
public static double?[] Percentile<TInput>(this ISetWindowFieldsPartition<TInput> partition, Func<TInput, long?> selector, IEnumerable<double> percentiles, SetWindowFieldsWindow window = null)
Parameters
partition
ISetWindowFieldsPartition<TInput>The partition.
selector
Func<TInput, long?>The selector that selects a value from the input document.
percentiles
IEnumerable<double>The percentiles (between 0.0 and 1.0).
window
SetWindowFieldsWindowThe window boundaries.
Returns
- double?[]
The values at the given percentiles.
Type Parameters
TInput
The type of the input documents in the partition.