Vector<T>.ReplaceMissingValuesInto(Direction, Vector<T>, Int32) 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#
public Vector<T> ReplaceMissingValuesInto(
	Direction fillDirection,
	Vector<T> result,
	int limit = 1073741824
)

Parameters

fillDirection  Direction
Specifies whether missing values should be replaced by the previous (Forward) or next (Backward) non-missing values.
result  Vector<T>
The vector that is to hold the result. May be null.
limit  Int32  (Optional)
The maximum number of successive missing values that may be filled.

Return Value

Vector<T>
The result.

See Also