Vector<T>.Replace Missing Values In Place Method
Definition
Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
Overload List
Replace | Replaces all missing values in the vector with the specified value in-place. |
Replace | Replaces all missing values in the vector with the corresponding element in another vector in-place. |
Replace | 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.
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.
public Vector<T> ReplaceMissingValuesInPlace(
Vector<T> values
)
Parameters
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.
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.