Creates a grouping that resamples the observations
from one index to another.
Namespace: Extreme.DataAnalysisAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.16312.0)
public static Grouping<R> Resample<R>(
Index<R> oldIndex,
Index<R> newIndex,
Direction direction
)
Public Shared Function Resample(Of R) (
oldIndex As Index(Of R),
newIndex As Index(Of R),
direction As Direction
) As Grouping(Of R)
public:
generic<typename R>
static Grouping<R>^ Resample(
Index<R>^ oldIndex,
Index<R>^ newIndex,
Direction direction
)
static member Resample :
oldIndex : Index<'R> *
newIndex : Index<'R> *
direction : Direction -> Grouping<'R>
Parameters
- oldIndex
- Type: Extreme.DataAnalysisIndexR
The original index. - newIndex
- Type: Extreme.DataAnalysisIndexR
The new index. - direction
- Type: Extreme.DataAnalysisDirection
Indicates whether the entries in newIndex
should be taken as the start (Forward) or end (Backward) of a sampling interval.
Type Parameters
- R
- The element type of the indexes.
Return Value
Type:
GroupingRA grouping object that represents the resampling.
Numerical Libraries
Supported in: 6.0
Reference