Share via


DbFunctions.StandardDeviation Method

Definition

Overloads

StandardDeviation(IEnumerable<Decimal>)

When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate the standard deviation of the collection.

StandardDeviation(IEnumerable<Double>)

When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate the standard deviation of the collection.

StandardDeviation(IEnumerable<Int32>)

When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate the standard deviation of the collection.

StandardDeviation(IEnumerable<Int64>)

When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate the standard deviation of the collection.

StandardDeviation(IEnumerable<Nullable<Decimal>>)

When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate the standard deviation of the collection.

StandardDeviation(IEnumerable<Nullable<Double>>)

When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate the standard deviation of the collection.

StandardDeviation(IEnumerable<Nullable<Int32>>)

When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate the standard deviation of the collection.

StandardDeviation(IEnumerable<Nullable<Int64>>)

When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate the standard deviation of the collection.

StandardDeviation(IEnumerable<Decimal>)

When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate the standard deviation of the collection.

[System.Data.Entity.DbFunction("Edm", "StDev")]
public static Nullable<double> StandardDeviation (System.Collections.Generic.IEnumerable<decimal> collection);
static member StandardDeviation : seq<decimal> -> Nullable<double>
Public Shared Function StandardDeviation (collection As IEnumerable(Of Decimal)) As Nullable(Of Double)

Parameters

collection
IEnumerable<Decimal>

The collection over which to perform the calculation.

Returns

The standard deviation.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function is translated to a corresponding function in the database.

Applies to

StandardDeviation(IEnumerable<Double>)

When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate the standard deviation of the collection.

[System.Data.Entity.DbFunction("Edm", "StDev")]
public static Nullable<double> StandardDeviation (System.Collections.Generic.IEnumerable<double> collection);
static member StandardDeviation : seq<double> -> Nullable<double>
Public Shared Function StandardDeviation (collection As IEnumerable(Of Double)) As Nullable(Of Double)

Parameters

collection
IEnumerable<Double>

The collection over which to perform the calculation.

Returns

The standard deviation.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function is translated to a corresponding function in the database.

Applies to

StandardDeviation(IEnumerable<Int32>)

When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate the standard deviation of the collection.

[System.Data.Entity.DbFunction("Edm", "StDev")]
public static Nullable<double> StandardDeviation (System.Collections.Generic.IEnumerable<int> collection);
static member StandardDeviation : seq<int> -> Nullable<double>
Public Shared Function StandardDeviation (collection As IEnumerable(Of Integer)) As Nullable(Of Double)

Parameters

collection
IEnumerable<Int32>

The collection over which to perform the calculation.

Returns

The standard deviation.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function is translated to a corresponding function in the database.

Applies to

StandardDeviation(IEnumerable<Int64>)

When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate the standard deviation of the collection.

[System.Data.Entity.DbFunction("Edm", "StDev")]
public static Nullable<double> StandardDeviation (System.Collections.Generic.IEnumerable<long> collection);
static member StandardDeviation : seq<int64> -> Nullable<double>
Public Shared Function StandardDeviation (collection As IEnumerable(Of Long)) As Nullable(Of Double)

Parameters

collection
IEnumerable<Int64>

The collection over which to perform the calculation.

Returns

The standard deviation.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function is translated to a corresponding function in the database.

Applies to

StandardDeviation(IEnumerable<Nullable<Decimal>>)

When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate the standard deviation of the collection.

[System.Data.Entity.DbFunction("Edm", "StDev")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public static Nullable<double> StandardDeviation (System.Collections.Generic.IEnumerable<Nullable<decimal>> collection);
static member StandardDeviation : seq<Nullable<decimal>> -> Nullable<double>
Public Shared Function StandardDeviation (collection As IEnumerable(Of Nullable(Of Decimal))) As Nullable(Of Double)

Parameters

collection
IEnumerable<Nullable<Decimal>>

The collection over which to perform the calculation.

Returns

The standard deviation.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function is translated to a corresponding function in the database.

Applies to

StandardDeviation(IEnumerable<Nullable<Double>>)

When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate the standard deviation of the collection.

[System.Data.Entity.DbFunction("Edm", "StDev")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public static Nullable<double> StandardDeviation (System.Collections.Generic.IEnumerable<Nullable<double>> collection);
static member StandardDeviation : seq<Nullable<double>> -> Nullable<double>
Public Shared Function StandardDeviation (collection As IEnumerable(Of Nullable(Of Double))) As Nullable(Of Double)

Parameters

collection
IEnumerable<Nullable<Double>>

The collection over which to perform the calculation.

Returns

The standard deviation.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function is translated to a corresponding function in the database.

Applies to

StandardDeviation(IEnumerable<Nullable<Int32>>)

When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate the standard deviation of the collection.

[System.Data.Entity.DbFunction("Edm", "StDev")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public static Nullable<double> StandardDeviation (System.Collections.Generic.IEnumerable<Nullable<int>> collection);
static member StandardDeviation : seq<Nullable<int>> -> Nullable<double>
Public Shared Function StandardDeviation (collection As IEnumerable(Of Nullable(Of Integer))) As Nullable(Of Double)

Parameters

collection
IEnumerable<Nullable<Int32>>

The collection over which to perform the calculation.

Returns

The standard deviation.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function is translated to a corresponding function in the database.

Applies to

StandardDeviation(IEnumerable<Nullable<Int64>>)

When used as part of a LINQ to Entities query, this method invokes the canonical StDev EDM function to calculate the standard deviation of the collection.

[System.Data.Entity.DbFunction("Edm", "StDev")]
[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1006:DoNotNestGenericTypesInMemberSignatures")]
public static Nullable<double> StandardDeviation (System.Collections.Generic.IEnumerable<Nullable<long>> collection);
static member StandardDeviation : seq<Nullable<int64>> -> Nullable<double>
Public Shared Function StandardDeviation (collection As IEnumerable(Of Nullable(Of Long))) As Nullable(Of Double)

Parameters

collection
IEnumerable<Nullable<Int64>>

The collection over which to perform the calculation.

Returns

The standard deviation.

Attributes

Remarks

You cannot call this function directly. This function can only appear within a LINQ to Entities query. This function is translated to a corresponding function in the database.

Applies to