Method StandardDeviationPopulationAsync
| MongoDB CSharp Driver API Reference (original) (raw)
Namespace
Assembly
MongoDB.Driver.dll
StandardDeviationPopulationAsync(IQueryable, CancellationToken)
Computes the population standard deviation of a sequence of values.
public static Task<double> StandardDeviationPopulationAsync(this IQueryable<int> source, CancellationToken cancellationToken = default)
Parameters
source
IQueryable<int>
A sequence of values to calculate the population standard deviation of.
cancellationToken
CancellationToken
The cancellation token.
Returns
The population standard deviation of the sequence of values.
StandardDeviationPopulationAsync(IQueryable<int?>, CancellationToken)
Computes the population standard deviation of a sequence of values.
public static Task<double?> StandardDeviationPopulationAsync(this IQueryable<int?> source, CancellationToken cancellationToken = default)
Parameters
source
IQueryable<int?>
A sequence of values to calculate the population standard deviation of.
cancellationToken
CancellationToken
The cancellation token.
Returns
The population standard deviation of the sequence of values.
StandardDeviationPopulationAsync(IQueryable, CancellationToken)
Computes the population standard deviation of a sequence of values.
public static Task<double> StandardDeviationPopulationAsync(this IQueryable<long> source, CancellationToken cancellationToken = default)
Parameters
source
IQueryable<long>
A sequence of values to calculate the population standard deviation of.
cancellationToken
CancellationToken
The cancellation token.
Returns
The population standard deviation of the sequence of values.
StandardDeviationPopulationAsync(IQueryable<long?>, CancellationToken)
Computes the population standard deviation of a sequence of values.
public static Task<double?> StandardDeviationPopulationAsync(this IQueryable<long?> source, CancellationToken cancellationToken = default)
Parameters
source
IQueryable<long?>
A sequence of values to calculate the population standard deviation of.
cancellationToken
CancellationToken
The cancellation token.
Returns
The population standard deviation of the sequence of values.
StandardDeviationPopulationAsync(IQueryable, CancellationToken)
Computes the population standard deviation of a sequence of values.
public static Task<float> StandardDeviationPopulationAsync(this IQueryable<float> source, CancellationToken cancellationToken = default)
Parameters
source
IQueryable<float>
A sequence of values to calculate the population standard deviation of.
cancellationToken
CancellationToken
The cancellation token.
Returns
The population standard deviation of the sequence of values.
StandardDeviationPopulationAsync(IQueryable<float?>, CancellationToken)
Computes the population standard deviation of a sequence of values.
public static Task<float?> StandardDeviationPopulationAsync(this IQueryable<float?> source, CancellationToken cancellationToken = default)
Parameters
source
IQueryable<float?>
A sequence of values to calculate the population standard deviation of.
cancellationToken
CancellationToken
The cancellation token.
Returns
The population standard deviation of the sequence of values.
StandardDeviationPopulationAsync(IQueryable, CancellationToken)
Computes the population standard deviation of a sequence of values.
public static Task<double> StandardDeviationPopulationAsync(this IQueryable<double> source, CancellationToken cancellationToken = default)
Parameters
source
IQueryable<double>
A sequence of values to calculate the population standard deviation of.
cancellationToken
CancellationToken
The cancellation token.
Returns
The population standard deviation of the sequence of values.
StandardDeviationPopulationAsync(IQueryable<double?>, CancellationToken)
Computes the population standard deviation of a sequence of values.
public static Task<double?> StandardDeviationPopulationAsync(this IQueryable<double?> source, CancellationToken cancellationToken = default)
Parameters
source
IQueryable<double?>
A sequence of values to calculate the population standard deviation of.
cancellationToken
CancellationToken
The cancellation token.
Returns
The population standard deviation of the sequence of values.
StandardDeviationPopulationAsync(IQueryable, CancellationToken)
Computes the population standard deviation of a sequence of values.
public static Task<decimal> StandardDeviationPopulationAsync(this IQueryable<decimal> source, CancellationToken cancellationToken = default)
Parameters
source
IQueryable<decimal>
A sequence of values to calculate the population standard deviation of.
cancellationToken
CancellationToken
The cancellation token.
Returns
The population standard deviation of the sequence of values.
StandardDeviationPopulationAsync(IQueryable<decimal?>, CancellationToken)
Computes the population standard deviation of a sequence of values.
public static Task<decimal?> StandardDeviationPopulationAsync(this IQueryable<decimal?> source, CancellationToken cancellationToken = default)
Parameters
source
IQueryable<decimal?>
A sequence of values to calculate the population standard deviation of.
cancellationToken
CancellationToken
The cancellation token.
Returns
The population standard deviation of the sequence of values.
StandardDeviationPopulationAsync(IQueryable, 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 IQueryable<TSource> source, Expression<Func<TSource, int>> selector, CancellationToken cancellationToken = default)
Parameters
source
IQueryable
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
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationPopulationAsync(IQueryable, 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 IQueryable<TSource> source, Expression<Func<TSource, int?>> selector, CancellationToken cancellationToken = default)
Parameters
source
IQueryable
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
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationPopulationAsync(IQueryable, 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 IQueryable<TSource> source, Expression<Func<TSource, long>> selector, CancellationToken cancellationToken = default)
Parameters
source
IQueryable
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
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationPopulationAsync(IQueryable, 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 IQueryable<TSource> source, Expression<Func<TSource, long?>> selector, CancellationToken cancellationToken = default)
Parameters
source
IQueryable
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
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationPopulationAsync(IQueryable, 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 IQueryable<TSource> source, Expression<Func<TSource, float>> selector, CancellationToken cancellationToken = default)
Parameters
source
IQueryable
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
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationPopulationAsync(IQueryable, 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 IQueryable<TSource> source, Expression<Func<TSource, float?>> selector, CancellationToken cancellationToken = default)
Parameters
source
IQueryable
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
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationPopulationAsync(IQueryable, 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 IQueryable<TSource> source, Expression<Func<TSource, double>> selector, CancellationToken cancellationToken = default)
Parameters
source
IQueryable
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
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationPopulationAsync(IQueryable, 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 IQueryable<TSource> source, Expression<Func<TSource, double?>> selector, CancellationToken cancellationToken = default)
Parameters
source
IQueryable
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
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationPopulationAsync(IQueryable, 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 IQueryable<TSource> source, Expression<Func<TSource, decimal>> selector, CancellationToken cancellationToken = default)
Parameters
source
IQueryable
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
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.
StandardDeviationPopulationAsync(IQueryable, 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 IQueryable<TSource> source, Expression<Func<TSource, decimal?>> selector, CancellationToken cancellationToken = default)
Parameters
source
IQueryable
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
The population standard deviation of the sequence of values.
Type Parameters
TSource
The type of the elements of source
.