Table of Contents

Method StandardDeviationSample

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

StandardDeviationSample(IQueryable<int>)

Computes the sample standard deviation of a sequence of values.

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

Parameters

source IQueryable<int>

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

Returns

double

The population standard deviation of the sequence of values.

StandardDeviationSample(IQueryable<int?>)

Computes the sample standard deviation of a sequence of values.

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

Parameters

source IQueryable<int?>

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

Returns

double?

The population standard deviation of the sequence of values.

StandardDeviationSample(IQueryable<long>)

Computes the sample standard deviation of a sequence of values.

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

Parameters

source IQueryable<long>

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

Returns

double

The population standard deviation of the sequence of values.

StandardDeviationSample(IQueryable<long?>)

Computes the sample standard deviation of a sequence of values.

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

Parameters

source IQueryable<long?>

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

Returns

double?

The population standard deviation of the sequence of values.

StandardDeviationSample(IQueryable<float>)

Computes the sample standard deviation of a sequence of values.

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

Parameters

source IQueryable<float>

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

Returns

float

The population standard deviation of the sequence of values.

StandardDeviationSample(IQueryable<float?>)

Computes the sample standard deviation of a sequence of values.

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

Parameters

source IQueryable<float?>

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

Returns

float?

The population standard deviation of the sequence of values.

StandardDeviationSample(IQueryable<double>)

Computes the sample standard deviation of a sequence of values.

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

Parameters

source IQueryable<double>

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

Returns

double

The population standard deviation of the sequence of values.

StandardDeviationSample(IQueryable<double?>)

Computes the sample standard deviation of a sequence of values.

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

Parameters

source IQueryable<double?>

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

Returns

double?

The population standard deviation of the sequence of values.

StandardDeviationSample(IQueryable<decimal>)

Computes the sample standard deviation of a sequence of values.

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

Parameters

source IQueryable<decimal>

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

Returns

decimal

The population standard deviation of the sequence of values.

StandardDeviationSample(IQueryable<decimal?>)

Computes the sample standard deviation of a sequence of values.

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

Parameters

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

Parameters

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

Parameters

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

Parameters

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

Parameters

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

Parameters

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

Parameters

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

Parameters

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

Parameters

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

Parameters

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

Parameters

source IQueryable<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.