SampleClass.AverageValues Method (IEnumerable(Double), IEnumerable(Double))

Sandcastle XML Comments

Sandcastle XML Comments GuideSampleClassAverageValues Method (IEnumerableDouble, IEnumerableDouble)
This is used to get the average of two enumerable list of values

Namespace: XMLCommentsExamples
Assembly: XMLCommentsExamples (in XMLCommentsExamples.dll) Version: 2014.1.26.0
Syntax
public double AverageValues(
	IEnumerable<double> firstValues,
	IEnumerable<double> secondValues
)
Public Function AverageValues ( 
	firstValues As IEnumerable(Of Double),
	secondValues As IEnumerable(Of Double)
) As Double
public:
double AverageValues(
	IEnumerable<double>^ firstValues, 
	IEnumerable<double>^ secondValues
)
member AverageValues : 
        firstValues : IEnumerable<float> * 
        secondValues : IEnumerable<float> -> float 

Parameters

firstValues
Type: System.Collections.GenericIEnumerableDouble
The first set of values to average
secondValues
Type: System.Collections.GenericIEnumerableDouble
The second set of values to average

Return Value

Type: Double
The average of the values from both enumerable lists
See Also