IVector.ReplaceMissingValues Method

Replaces all missing values in a vector with the previous or next non-missing value.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
IVector ReplaceMissingValues(
	Direction direction,
	int limit = 1073741824
)

Parameters

direction  Direction
Specifies whether missing values should be replaced by the previous (Forward) or next (Backward) non-missing values.
limit  Int32  (Optional)
The maximum number of successive missing values that may be filled.

Return Value

IVector
A new vector that has its missing values replaced.

See Also