Method StandardDeviationSample
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
StandardDeviationSample(IEnumerable)
Computes the sample standard deviation of a sequence of values.
public static double StandardDeviationSample(this IEnumerable<int> source)
Parameters
source
IEnumerable<int>
A sequence of values to calculate the population standard deviation of.
Returns
The population standard deviation of the sequence of values.
StandardDeviationSample(IEnumerable<int?>)
Computes the sample standard deviation of a sequence of values.
public static double? StandardDeviationSample(this IEnumerable<int?> source)
Parameters
source
IEnumerable<int?>
A sequence of values to calculate the population standard deviation of.
Returns
The population standard deviation of the sequence of values.
StandardDeviationSample(IEnumerable)
Computes the sample standard deviation of a sequence of values.
public static double StandardDeviationSample(this IEnumerable<long> source)
Parameters
source
IEnumerable<long>
A sequence of values to calculate the population standard deviation of.
Returns
The population standard deviation of the sequence of values.
StandardDeviationSample(IEnumerable<long?>)
Computes the sample standard deviation of a sequence of values.
public static double? StandardDeviationSample(this IEnumerable<long?> source)
Parameters
source
IEnumerable<long?>
A sequence of values to calculate the population standard deviation of.
Returns
The population standard deviation of the sequence of values.
StandardDeviationSample(IEnumerable)
Computes the sample standard deviation of a sequence of values.
public static float StandardDeviationSample(this IEnumerable<float> source)
Parameters
source
IEnumerable<float>
A sequence of values to calculate the population standard deviation of.
Returns
The population standard deviation of the sequence of values.
StandardDeviationSample(IEnumerable<float?>)
Computes the sample standard deviation of a sequence of values.
public static float? StandardDeviationSample(this IEnumerable<float?> source)
Parameters
source
IEnumerable<float?>
A sequence of values to calculate the population standard deviation of.
Returns
The population standard deviation of the sequence of values.
StandardDeviationSample(IEnumerable)
Computes the sample standard deviation of a sequence of values.
public static double StandardDeviationSample(this IEnumerable<double> source)
Parameters
source
IEnumerable<double>
A sequence of values to calculate the population standard deviation of.
Returns
The population standard deviation of the sequence of values.
StandardDeviationSample(IEnumerable<double?>)
Computes the sample standard deviation of a sequence of values.
public static double? StandardDeviationSample(this IEnumerable<double?> source)
Parameters
source
IEnumerable<double?>
A sequence of values to calculate the population standard deviation of.
Returns
The population standard deviation of the sequence of values.
StandardDeviationSample(IEnumerable)
Computes the sample standard deviation of a sequence of values.
public static decimal StandardDeviationSample(this IEnumerable<decimal> source)
Parameters
source
IEnumerable<decimal>
A sequence of values to calculate the population standard deviation of.
Returns
The population standard deviation of the sequence of values.
StandardDeviationSample(IEnumerable<decimal?>)
Computes the sample standard deviation of a sequence of values.
public static decimal? StandardDeviationSample(this IEnumerable<decimal?> source)
Parameters
source
IEnumerable<decimal?>
A sequence of values to calculate the population standard deviation of.
Returns
The population standard deviation of the sequence of values.
StandardDeviationSample(IEnumerable, Func<TSource, int>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
public static double StandardDeviationSample<TSource>(this IEnumerable<TSource> source, Func<TSource, int> selector)
Parameters
source
IEnumerable
A sequence of values to calculate the population standard deviation of.
A transform function to apply to each element.
Returns
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationSample(IEnumerable, Func<TSource, int?>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
public static double? StandardDeviationSample<TSource>(this IEnumerable<TSource> source, Func<TSource, int?> selector)
Parameters
source
IEnumerable
A sequence of values to calculate the population standard deviation of.
A transform function to apply to each element.
Returns
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationSample(IEnumerable, Func<TSource, long>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
public static double StandardDeviationSample<TSource>(this IEnumerable<TSource> source, Func<TSource, long> selector)
Parameters
source
IEnumerable
A sequence of values to calculate the population standard deviation of.
A transform function to apply to each element.
Returns
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationSample(IEnumerable, Func<TSource, long?>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
public static double? StandardDeviationSample<TSource>(this IEnumerable<TSource> source, Func<TSource, long?> selector)
Parameters
source
IEnumerable
A sequence of values to calculate the population standard deviation of.
A transform function to apply to each element.
Returns
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationSample(IEnumerable, Func<TSource, float>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
public static float StandardDeviationSample<TSource>(this IEnumerable<TSource> source, Func<TSource, float> selector)
Parameters
source
IEnumerable
A sequence of values to calculate the population standard deviation of.
A transform function to apply to each element.
Returns
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationSample(IEnumerable, Func<TSource, float?>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
public static float? StandardDeviationSample<TSource>(this IEnumerable<TSource> source, Func<TSource, float?> selector)
Parameters
source
IEnumerable
A sequence of values to calculate the population standard deviation of.
selector
Func<TSource, float?>
A transform function to apply to each element.
Returns
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationSample(IEnumerable, Func<TSource, double>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
public static double StandardDeviationSample<TSource>(this IEnumerable<TSource> source, Func<TSource, double> selector)
Parameters
source
IEnumerable
A sequence of values to calculate the population standard deviation of.
selector
Func<TSource, double>
A transform function to apply to each element.
Returns
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationSample(IEnumerable, Func<TSource, double?>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
public static double? StandardDeviationSample<TSource>(this IEnumerable<TSource> source, Func<TSource, double?> selector)
Parameters
source
IEnumerable
A sequence of values to calculate the population standard deviation of.
selector
Func<TSource, double?>
A transform function to apply to each element.
Returns
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationSample(IEnumerable, Func<TSource, decimal>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
public static decimal StandardDeviationSample<TSource>(this IEnumerable<TSource> source, Func<TSource, decimal> selector)
Parameters
source
IEnumerable
A sequence of values to calculate the population standard deviation of.
selector
Func<TSource, decimal>
A transform function to apply to each element.
Returns
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationSample(IEnumerable, Func<TSource, decimal?>)
Computes the sample standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.
public static decimal? StandardDeviationSample<TSource>(this IEnumerable<TSource> source, Func<TSource, decimal?> selector)
Parameters
source
IEnumerable
A sequence of values to calculate the population standard deviation of.
selector
Func<TSource, decimal?>
A transform function to apply to each element.
Returns
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.