Click or drag to resize

measureTrendToolsGetTrendT Method

imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Gets the trend from set of objects

Namespace:  imbSCI.DataComplex.trends
Assembly:  imbSCI.DataComplex (in imbSCI.DataComplex.dll) Version: 0.3.70.
Syntax
C#
public static measureTrend GetTrend<T>(
	this IEnumerable<T> sampleset,
	Func<T, double> selector,
	measureTrendTaker trendTaker,
	TimeSpan span
)
Request Example View Source

Parameters

sampleset
Type: System.Collections.GenericIEnumerableT
Set of objects to take measure from
selector
Type: SystemFuncT, Double
Expresion that takes the property value from an object in the sampleset
trendTaker
Type: imbSCI.DataComplex.trendsmeasureTrendTaker
The trend taker definition
span
Type: SystemTimeSpan
The time span to recalculate mean values for.

Type Parameters

T

Return Value

Type: measureTrend

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IEnumerableT. 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