Method StandardDeviationSampleAsync
StandardDeviationSampleAsync(IQueryable<int>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<double> StandardDeviationSampleAsync(this IQueryable<int> source, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<int>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IQueryable<int?>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<double?> StandardDeviationSampleAsync(this IQueryable<int?> source, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<int?>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IQueryable<long>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<double> StandardDeviationSampleAsync(this IQueryable<long> source, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<long>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IQueryable<long?>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<double?> StandardDeviationSampleAsync(this IQueryable<long?> source, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<long?>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IQueryable<float>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<float> StandardDeviationSampleAsync(this IQueryable<float> source, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<float>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IQueryable<float?>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<float?> StandardDeviationSampleAsync(this IQueryable<float?> source, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<float?>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IQueryable<double>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<double> StandardDeviationSampleAsync(this IQueryable<double> source, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<double>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IQueryable<double?>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<double?> StandardDeviationSampleAsync(this IQueryable<double?> source, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<double?>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IQueryable<decimal>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<decimal> StandardDeviationSampleAsync(this IQueryable<decimal> source, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<decimal>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync(IQueryable<decimal?>, CancellationToken)
Computes the sample standard deviation of a sequence of values.
public static Task<decimal?> StandardDeviationSampleAsync(this IQueryable<decimal?> source, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<decimal?>A sequence of values to calculate the population standard deviation of.
cancellationTokenCancellationTokenThe cancellation token.
Returns
StandardDeviationSampleAsync<TSource>(IQueryable<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 IQueryable<TSource> source, Expression<Func<TSource, int>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<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>(IQueryable<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 IQueryable<TSource> source, Expression<Func<TSource, int?>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<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>(IQueryable<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 IQueryable<TSource> source, Expression<Func<TSource, long>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<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>(IQueryable<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 IQueryable<TSource> source, Expression<Func<TSource, long?>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<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>(IQueryable<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 IQueryable<TSource> source, Expression<Func<TSource, float>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<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>(IQueryable<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 IQueryable<TSource> source, Expression<Func<TSource, float?>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<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>(IQueryable<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 IQueryable<TSource> source, Expression<Func<TSource, double>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<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>(IQueryable<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 IQueryable<TSource> source, Expression<Func<TSource, double?>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<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>(IQueryable<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 IQueryable<TSource> source, Expression<Func<TSource, decimal>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<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>(IQueryable<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 IQueryable<TSource> source, Expression<Func<TSource, decimal?>> selector, CancellationToken cancellationToken = default)
Parameters
sourceIQueryable<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.