Method StandardDeviationSampleAsync
StandardDeviationSampleAsync(IMongoQueryable<int>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<double> StandardDeviationSampleAsync(this IMongoQueryable<int> source, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<int>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IMongoQueryable<int?>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<double?> StandardDeviationSampleAsync(this IMongoQueryable<int?> source, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<int?>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IMongoQueryable<long>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<double> StandardDeviationSampleAsync(this IMongoQueryable<long> source, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<long>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IMongoQueryable<long?>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<double?> StandardDeviationSampleAsync(this IMongoQueryable<long?> source, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<long?>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IMongoQueryable<float>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<float> StandardDeviationSampleAsync(this IMongoQueryable<float> source, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<float>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IMongoQueryable<float?>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<float?> StandardDeviationSampleAsync(this IMongoQueryable<float?> source, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<float?>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IMongoQueryable<double>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<double> StandardDeviationSampleAsync(this IMongoQueryable<double> source, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<double>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IMongoQueryable<double?>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<double?> StandardDeviationSampleAsync(this IMongoQueryable<double?> source, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<double?>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IMongoQueryable<decimal>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<decimal> StandardDeviationSampleAsync(this IMongoQueryable<decimal> source, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<decimal>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IMongoQueryable<decimal?>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<decimal?> StandardDeviationSampleAsync(this IMongoQueryable<decimal?> source, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<decimal?>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, int>>, CancellationToken)
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 Task<double> StandardDeviationSampleAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, int>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<TSource>A sequence of values to calculate the population standard deviation of.
selectorExpression<Func<TSource, int>>A transform function to apply to each element.
cancellationTokenCancellationTokenThe cancellation token.
Returns
Type Parameters
TSourceThe type of the elements of
source.
StandardDeviationSampleAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, int?>>, CancellationToken)
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 Task<double?> StandardDeviationSampleAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, int?>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<TSource>A sequence of values to calculate the population standard deviation of.
selectorExpression<Func<TSource, int?>>A transform function to apply to each element.
cancellationTokenCancellationTokenThe cancellation token.
Returns
Type Parameters
TSourceThe type of the elements of
source.
StandardDeviationSampleAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, long>>, CancellationToken)
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 Task<double> StandardDeviationSampleAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, long>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<TSource>A sequence of values to calculate the population standard deviation of.
selectorExpression<Func<TSource, long>>A transform function to apply to each element.
cancellationTokenCancellationTokenThe cancellation token.
Returns
Type Parameters
TSourceThe type of the elements of
source.
StandardDeviationSampleAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, long?>>, CancellationToken)
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 Task<double?> StandardDeviationSampleAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, long?>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<TSource>A sequence of values to calculate the population standard deviation of.
selectorExpression<Func<TSource, long?>>A transform function to apply to each element.
cancellationTokenCancellationTokenThe cancellation token.
Returns
Type Parameters
TSourceThe type of the elements of
source.
StandardDeviationSampleAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, float>>, CancellationToken)
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 Task<float> StandardDeviationSampleAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, float>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<TSource>A sequence of values to calculate the population standard deviation of.
selectorExpression<Func<TSource, float>>A transform function to apply to each element.
cancellationTokenCancellationTokenThe cancellation token.
Returns
Type Parameters
TSourceThe type of the elements of
source.
StandardDeviationSampleAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, float?>>, CancellationToken)
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 Task<float?> StandardDeviationSampleAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, float?>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<TSource>A sequence of values to calculate the population standard deviation of.
selectorExpression<Func<TSource, float?>>A transform function to apply to each element.
cancellationTokenCancellationTokenThe cancellation token.
Returns
Type Parameters
TSourceThe type of the elements of
source.
StandardDeviationSampleAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, double>>, CancellationToken)
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 Task<double> StandardDeviationSampleAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, double>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<TSource>A sequence of values to calculate the population standard deviation of.
selectorExpression<Func<TSource, double>>A transform function to apply to each element.
cancellationTokenCancellationTokenThe cancellation token.
Returns
Type Parameters
TSourceThe type of the elements of
source.
StandardDeviationSampleAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, double?>>, CancellationToken)
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 Task<double?> StandardDeviationSampleAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, double?>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<TSource>A sequence of values to calculate the population standard deviation of.
selectorExpression<Func<TSource, double?>>A transform function to apply to each element.
cancellationTokenCancellationTokenThe cancellation token.
Returns
Type Parameters
TSourceThe type of the elements of
source.
StandardDeviationSampleAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, decimal>>, CancellationToken)
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 Task<decimal> StandardDeviationSampleAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, decimal>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<TSource>A sequence of values to calculate the population standard deviation of.
selectorExpression<Func<TSource, decimal>>A transform function to apply to each element.
cancellationTokenCancellationTokenThe cancellation token.
Returns
Type Parameters
TSourceThe type of the elements of
source.
StandardDeviationSampleAsync<TSource>(IMongoQueryable<TSource>, Expression<Func<TSource, decimal?>>, CancellationToken)
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 Task<decimal?> StandardDeviationSampleAsync<TSource>(this IMongoQueryable<TSource> source, Expression<Func<TSource, decimal?>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIMongoQueryable<TSource>A sequence of values to calculate the population standard deviation of.
selectorExpression<Func<TSource, decimal?>>A transform function to apply to each element.
cancellationTokenCancellationTokenThe cancellation token.
Returns
Type Parameters
TSourceThe type of the elements of
source.