Returns a new vector that resamples the values in the vector using the specified
recurrence pattern and aggregator.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public Vector<U> Resample<U>(
Recurrence recurrence,
Direction direction,
AggregatorGroup<U> aggregator
)
Public Function Resample(Of U) (
recurrence As Recurrence,
direction As Direction,
aggregator As AggregatorGroup(Of U)
) As Vector(Of U)
public:
generic<typename U>
Vector<U>^ Resample(
Recurrence^ recurrence,
Direction direction,
AggregatorGroup<U>^ aggregator
)
member Resample :
recurrence : Recurrence *
direction : Direction *
aggregator : AggregatorGroup<'U> -> Vector<'U>
Parameters
- recurrence
- Type: Extreme.DataAnalysisRecurrence
The new index. - direction
- Type: Extreme.DataAnalysisDirection
Indicates whether the keys in the new index
should be taken from the start (Forward) or end (Backward)
of a sampling interval. - aggregator
- Type: Extreme.DataAnalysisAggregatorGroupU
The aggregator to use on each group.
Type Parameters
- U
- The element type of the result.
Return Value
Type:
VectorUA vector that contains the resampled values.
Numerical Libraries
Supported in: 6.0
Reference