Whetstone Class reference
Whetstone Class reference
Whetstone
WhetStone Namespaces
WhetStone.Looping
getAverage Class
getAverage Methods
GetAverage(T) Method
GetGeometricAverage(T) Method
getAverage
GetGeometricAverage
T
Method
Get geometric average of an
IEnumerable
T
using fielding.
Namespace:
WhetStone.Looping
Assembly:
WhetStone (in WhetStone.dll) Version: 1.0.4.0 (1.0.0.0)
Syntax
C#
Copy
public
static
T
GetGeometricAverage
<T>(
this
IEnumerable
<T>
tosearch
)
Parameters
tosearch
Type:
System.Collections.Generic
IEnumerable
T
The
IEnumerable
T
to find the average of.
Type Parameters
T
The type of the elements.
Return Value
Type:
T
The geometric average of the elements in
tosearch
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
IEnumerable
T
. 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)
.
Remarks
This function uses fielding.
See Also
Reference
getAverage Class
WhetStone.Looping Namespace