Matrix<T>.Fill Missing Values In Place Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Fill | Replaces all missing values in a matrix with the specified value in-place. |
Fill | Replaces all missing values in each row or column in-place with the previous or next non-missing value. |
Fill | Replaces all missing values in each row or column of a matrix in-place with the corresponding value from a vector. |
FillMissingValuesInPlace(T)
Replaces all missing values in a matrix with the specified value in-place.
public Matrix<T> FillMissingValuesInPlace(
T value
)
Parameters
- value T
- The replacement value.
Return Value
Matrix<T>A reference to this instance.
FillMissingValuesInPlace(DimensionType, Direction)
Replaces all missing values in each row or column in-place with the previous or next non-missing value.
public Matrix<T> FillMissingValuesInPlace(
DimensionType dimension,
Direction direction
)
Parameters
- dimension DimensionType
- The dimension along which values should be filled.
- direction Direction
- Specifies whether missing values should be replaced by the previous (Forward) or next (Backward) non-missing values.
Return Value
Matrix<T>A reference to this instance.
FillMissingValuesInPlace(Vector<T>, DimensionType)
Replaces all missing values in each row or column of a matrix in-place with the corresponding value
from a vector.
public Matrix<T> FillMissingValuesInPlace(
Vector<T> values,
DimensionType dimension
)
Parameters
- values Vector<T>
- A vector that contains the replacement values.
- dimension DimensionType
- The dimension to fill with a single value.