Vector<T>.ReplaceMissingValuesInPlace Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4

Overload List

ReplaceMissingValuesInPlace(T) Replaces all missing values in the vector with the specified value in-place.
ReplaceMissingValuesInPlace(Vector<T>) Replaces all missing values in the vector with the corresponding element in another vector in-place.
ReplaceMissingValuesInPlace(Direction, Int32) Replaces all missing values in a vector with the specified value in-place.

ReplaceMissingValuesInPlace(T)

Replaces all missing values in the vector with the specified value in-place.
C#
public Vector<T> ReplaceMissingValuesInPlace(
	T value
)

Parameters

value  T
The replacement value.

Return Value

Vector<T>
A reference to this vector.

ReplaceMissingValuesInPlace(Vector<T>)

Replaces all missing values in the vector with the corresponding element in another vector in-place.
C#
public Vector<T> ReplaceMissingValuesInPlace(
	Vector<T> values
)

Parameters

values  Vector<T>
A vector containing the replacement values.

Return Value

Vector<T>
A reference to this vector.

ReplaceMissingValuesInPlace(Direction, Int32)

Replaces all missing values in a vector with the specified value in-place.
C#
public Vector<T> ReplaceMissingValuesInPlace(
	Direction fillDirection,
	int limit = 1073741824
)

Parameters

fillDirection  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

Vector<T>
The result.

See Also