Matrix<T>.FillMissingValuesInPlace Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

FillMissingValuesInPlace(T) Replaces all missing values in a matrix with the specified value in-place.
FillMissingValuesInPlace(DimensionType, Direction) Replaces all missing values in each row or column in-place with the previous or next non-missing value.
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.

FillMissingValuesInPlace(T)

Replaces all missing values in a matrix with the specified value in-place.
C#
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.
C#
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.
C#
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.

Return Value

Matrix<T>

See Also