Table of Contents

Method StandardDeviationPopulationAsync

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

StandardDeviationPopulationAsync(IMongoQueryable<int>, CancellationToken)

Computes the population standard deviation of a sequence of values.

public static Task<double> StandardDeviationPopulationAsync(this IMongoQueryable<int> source, CancellationToken cancellationToken = default)

Parameters

source IMongoQueryable<int>

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

cancellationToken CancellationToken

The cancellation token.

Returns

Task<double>

The population standard deviation of the sequence of values.

StandardDeviationPopulationAsync(IMongoQueryable<int?>, CancellationToken)

Computes the population standard deviation of a sequence of values.

public static Task<double?> StandardDeviationPopulationAsync(this IMongoQueryable<int?> source, CancellationToken cancellationToken = default)

Parameters

source IMongoQueryable<int?>

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

cancellationToken CancellationToken

The cancellation token.

Returns

Task<double?>

The population standard deviation of the sequence of values.

StandardDeviationPopulationAsync(IMongoQueryable<long>, CancellationToken)

Computes the population standard deviation of a sequence of values.

public static Task<double> StandardDeviationPopulationAsync(this IMongoQueryable<long> source, CancellationToken cancellationToken = default)

Parameters

source IMongoQueryable<long>

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

cancellationToken CancellationToken

The cancellation token.

Returns

Task<double>

The population standard deviation of the sequence of values.

StandardDeviationPopulationAsync(IMongoQueryable<long?>, CancellationToken)

Computes the population standard deviation of a sequence of values.

public static Task<double?> StandardDeviationPopulationAsync(this IMongoQueryable<long?> source, CancellationToken cancellationToken = default)

Parameters

source IMongoQueryable<long?>

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

cancellationToken CancellationToken

The cancellation token.

Returns

Task<double?>

The population standard deviation of the sequence of values.

StandardDeviationPopulationAsync(IMongoQueryable<float>, CancellationToken)

Computes the population standard deviation of a sequence of values.

public static Task<float> StandardDeviationPopulationAsync(this IMongoQueryable<float> source, CancellationToken cancellationToken = default)

Parameters

source IMongoQueryable<float>

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

cancellationToken CancellationToken

The cancellation token.

Returns

Task<float>

The population standard deviation of the sequence of values.

StandardDeviationPopulationAsync(IMongoQueryable<float?>, CancellationToken)

Computes the population standard deviation of a sequence of values.

public static Task<float?> StandardDeviationPopulationAsync(this IMongoQueryable<float?> source, CancellationToken cancellationToken = default)

Parameters

source IMongoQueryable<float?>

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

cancellationToken CancellationToken

The cancellation token.

Returns

Task<float?>

The population standard deviation of the sequence of values.

StandardDeviationPopulationAsync(IMongoQueryable<double>, CancellationToken)

Computes the population standard deviation of a sequence of values.

public static Task<double> StandardDeviationPopulationAsync(this IMongoQueryable<double> source, CancellationToken cancellationToken = default)

Parameters

source IMongoQueryable<double>

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

cancellationToken CancellationToken

The cancellation token.

Returns

Task<double>

The population standard deviation of the sequence of values.

StandardDeviationPopulationAsync(IMongoQueryable<double?>, CancellationToken)

Computes the population standard deviation of a sequence of values.

public static Task<double?> StandardDeviationPopulationAsync(this IMongoQueryable<double?> source, CancellationToken cancellationToken = default)

Parameters

source IMongoQueryable<double?>

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

cancellationToken CancellationToken

The cancellation token.

Returns

Task<double?>

The population standard deviation of the sequence of values.

StandardDeviationPopulationAsync(IMongoQueryable<decimal>, CancellationToken)

Computes the population standard deviation of a sequence of values.

public static Task<decimal> StandardDeviationPopulationAsync(this IMongoQueryable<decimal> source, CancellationToken cancellationToken = default)

Parameters

source IMongoQueryable<decimal>

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

cancellationToken CancellationToken

The cancellation token.

Returns

Task<decimal>

The population standard deviation of the sequence of values.

StandardDeviationPopulationAsync(IMongoQueryable<decimal?>, CancellationToken)

Computes the population standard deviation of a sequence of values.

public static Task<decimal?> StandardDeviationPopulationAsync(this IMongoQueryable<decimal?> source, CancellationToken cancellationToken = default)

Parameters

source IMongoQueryable<decimal?>

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

cancellationToken CancellationToken

The cancellation token.

Returns

Task<decimal?>

The population standard deviation of the sequence of values.

StandardDeviationPopulationAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, int>>, CancellationToken)

Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

public static Task<double> StandardDeviationPopulationAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, int>> selector, CancellationToken cancellationToken = default)

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.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<double>

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationPopulationAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, int?>>, CancellationToken)

Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

public static Task<double?> StandardDeviationPopulationAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, int?>> selector, CancellationToken cancellationToken = default)

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.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<double?>

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationPopulationAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, long>>, CancellationToken)

Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

public static Task<double> StandardDeviationPopulationAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, long>> selector, CancellationToken cancellationToken = default)

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.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<double>

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationPopulationAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, long?>>, CancellationToken)

Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

public static Task<double?> StandardDeviationPopulationAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, long?>> selector, CancellationToken cancellationToken = default)

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.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<double?>

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationPopulationAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, float>>, CancellationToken)

Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

public static Task<float> StandardDeviationPopulationAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, float>> selector, CancellationToken cancellationToken = default)

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.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<float>

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationPopulationAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, float?>>, CancellationToken)

Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

public static Task<float?> StandardDeviationPopulationAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, float?>> selector, CancellationToken cancellationToken = default)

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.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<float?>

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationPopulationAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, double>>, CancellationToken)

Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

public static Task<double> StandardDeviationPopulationAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, double>> selector, CancellationToken cancellationToken = default)

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.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<double>

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationPopulationAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, double?>>, CancellationToken)

Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

public static Task<double?> StandardDeviationPopulationAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, double?>> selector, CancellationToken cancellationToken = default)

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.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<double?>

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationPopulationAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, decimal>>, CancellationToken)

Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

public static Task<decimal> StandardDeviationPopulationAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, decimal>> selector, CancellationToken cancellationToken = default)

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.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<decimal>

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.

StandardDeviationPopulationAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, decimal?>>, CancellationToken)

Computes the population standard deviation of a sequence of values that are obtained by invoking a transform function on each element of the input sequence.

public static Task<decimal?> StandardDeviationPopulationAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, decimal?>> selector, CancellationToken cancellationToken = default)

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.

cancellationToken CancellationToken

The cancellation token.

Returns

Task<decimal?>

The population standard deviation of the sequence of values.

Type Parameters

TSource

The type of the elements of source.