Same as Average(IQueryableNullableDouble), but returns an IQueryable<Nullable<Double>>
containing a single element. Computes the average of a set of nullable double values in the input
dataset.
Namespace: Microsoft.Research.DryadLinq
Assembly: Microsoft.Research.DryadLinq (in Microsoft.Research.DryadLinq.dll) Version: 0.2.1.0 (0.2.1.0)
Syntax
public static IQueryable<Nullable<double>> AverageAsQuery( this IQueryable<Nullable<double>> source )
Parameters
- source
- Type: System.LinqIQueryableNullableDouble
A set of nullable double values to calculate the average of
Return Value
Type: IQueryableNullableDoubleThe average of the values in the input dataset
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type IQueryableNullableDouble. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).See Also