Table of Contents

Method StandardDeviationSample

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

StandardDeviationSample(IMongoQueryable<int>)

Computes the sample standard deviation of a sequence of values.

public static double StandardDeviationSample(this IMongoQueryable<int> source)

Parameters

source IMongoQueryable<int>

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

Returns

double

The population standard deviation of the sequence of values.

StandardDeviationSample(IMongoQueryable<int?>)

Computes the sample standard deviation of a sequence of values.

public static double? StandardDeviationSample(this IMongoQueryable<int?> source)

Parameters

source IMongoQueryable<int?>

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

Returns

double?

The population standard deviation of the sequence of values.

StandardDeviationSample(IMongoQueryable<long>)

Computes the sample standard deviation of a sequence of values.

public static double StandardDeviationSample(this IMongoQueryable<long> source)

Parameters

source IMongoQueryable<long>

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

Returns

double

The population standard deviation of the sequence of values.

StandardDeviationSample(IMongoQueryable<long?>)

Computes the sample standard deviation of a sequence of values.

public static double? StandardDeviationSample(this IMongoQueryable<long?> source)

Parameters

source IMongoQueryable<long?>

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

Returns

double?

The population standard deviation of the sequence of values.

StandardDeviationSample(IMongoQueryable<float>)

Computes the sample standard deviation of a sequence of values.

public static float StandardDeviationSample(this IMongoQueryable<float> source)

Parameters

source IMongoQueryable<float>

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

Returns

float

The population standard deviation of the sequence of values.

StandardDeviationSample(IMongoQueryable<float?>)

Computes the sample standard deviation of a sequence of values.

public static float? StandardDeviationSample(this IMongoQueryable<float?> source)

Parameters

source IMongoQueryable<float?>

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

Returns

float?

The population standard deviation of the sequence of values.

StandardDeviationSample(IMongoQueryable<double>)

Computes the sample standard deviation of a sequence of values.

public static double StandardDeviationSample(this IMongoQueryable<double> source)

Parameters

source IMongoQueryable<double>

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

Returns

double

The population standard deviation of the sequence of values.

StandardDeviationSample(IMongoQueryable<double?>)

Computes the sample standard deviation of a sequence of values.

public static double? StandardDeviationSample(this IMongoQueryable<double?> source)

Parameters

source IMongoQueryable<double?>

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

Returns

double?

The population standard deviation of the sequence of values.

StandardDeviationSample(IMongoQueryable<decimal>)

Computes the sample standard deviation of a sequence of values.

public static decimal StandardDeviationSample(this IMongoQueryable<decimal> source)

Parameters

source IMongoQueryable<decimal>

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

Returns

decimal

The population standard deviation of the sequence of values.

StandardDeviationSample(IMongoQueryable<decimal?>)

Computes the sample standard deviation of a sequence of values.

public static decimal? StandardDeviationSample(this IMongoQueryable<decimal?> source)

Parameters

source IMongoQueryable<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>(IMongoQueryable<TSource>, Expression<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 IMongoQueryable<TSource> source, Expression<Func<TSource, int>> selector)

Parameters

source IMongoQueryable<TSource>

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

selector Expression<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>(IMongoQueryable<TSource>, Expression<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 IMongoQueryable<TSource> source, Expression<Func<TSource, int?>> selector)

Parameters

source IMongoQueryable<TSource>

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

selector Expression<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>(IMongoQueryable<TSource>, Expression<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 IMongoQueryable<TSource> source, Expression<Func<TSource, long>> selector)

Parameters

source IMongoQueryable<TSource>

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

selector Expression<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>(IMongoQueryable<TSource>, Expression<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 IMongoQueryable<TSource> source, Expression<Func<TSource, long?>> selector)

Parameters

source IMongoQueryable<TSource>

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

selector Expression<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>(IMongoQueryable<TSource>, Expression<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 IMongoQueryable<TSource> source, Expression<Func<TSource, float>> selector)

Parameters

source IMongoQueryable<TSource>

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

selector Expression<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>(IMongoQueryable<TSource>, Expression<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 IMongoQueryable<TSource> source, Expression<Func<TSource, float?>> selector)

Parameters

source IMongoQueryable<TSource>

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

selector Expression<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>(IMongoQueryable<TSource>, Expression<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 IMongoQueryable<TSource> source, Expression<Func<TSource, double>> selector)

Parameters

source IMongoQueryable<TSource>

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

selector Expression<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>(IMongoQueryable<TSource>, Expression<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 IMongoQueryable<TSource> source, Expression<Func<TSource, double?>> selector)

Parameters

source IMongoQueryable<TSource>

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

selector Expression<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>(IMongoQueryable<TSource>, Expression<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 IMongoQueryable<TSource> source, Expression<Func<TSource, decimal>> selector)

Parameters

source IMongoQueryable<TSource>

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

selector Expression<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>(IMongoQueryable<TSource>, Expression<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 IMongoQueryable<TSource> source, Expression<Func<TSource, decimal?>> selector)

Parameters

source IMongoQueryable<TSource>

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

selector Expression<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.