Table of Contents

Method StandardDeviationSample

Namespace
MongoDB.Driver.Linq
Assembly
MongoDB.Driver.dll

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

double

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

double?

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

double

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

double?

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

float

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

float?

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

double

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

double?

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

decimal

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

decimal?

The population standard deviation of the sequence of values.

StandardDeviationSample<TSource>(IEnumerable<TSource>, 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<TSource>

A sequence of values to calculate the population standard deviation of.

selector Func<TSource, int>

A transform function to apply to each element.

Returns

double

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationSample<TSource>(IEnumerable<TSource>, 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<TSource>

A sequence of values to calculate the population standard deviation of.

selector Func<TSource, int?>

A transform function to apply to each element.

Returns

double?

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationSample<TSource>(IEnumerable<TSource>, 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<TSource>

A sequence of values to calculate the population standard deviation of.

selector Func<TSource, long>

A transform function to apply to each element.

Returns

double

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationSample<TSource>(IEnumerable<TSource>, 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<TSource>

A sequence of values to calculate the population standard deviation of.

selector Func<TSource, long?>

A transform function to apply to each element.

Returns

double?

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationSample<TSource>(IEnumerable<TSource>, 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<TSource>

A sequence of values to calculate the population standard deviation of.

selector Func<TSource, float>

A transform function to apply to each element.

Returns

float

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationSample<TSource>(IEnumerable<TSource>, 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<TSource>

A sequence of values to calculate the population standard deviation of.

selector Func<TSource, float?>

A transform function to apply to each element.

Returns

float?

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationSample<TSource>(IEnumerable<TSource>, 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<TSource>

A sequence of values to calculate the population standard deviation of.

selector Func<TSource, double>

A transform function to apply to each element.

Returns

double

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationSample<TSource>(IEnumerable<TSource>, 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<TSource>

A sequence of values to calculate the population standard deviation of.

selector Func<TSource, double?>

A transform function to apply to each element.

Returns

double?

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationSample<TSource>(IEnumerable<TSource>, 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<TSource>

A sequence of values to calculate the population standard deviation of.

selector Func<TSource, decimal>

A transform function to apply to each element.

Returns

decimal

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationSample<TSource>(IEnumerable<TSource>, 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<TSource>

A sequence of values to calculate the population standard deviation of.

selector Func<TSource, decimal?>

A transform function to apply to each element.

Returns

decimal?

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.