Vector<T>.ReplaceValue Method

Replaces every occurrence of a value with a new value.

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
C#
public Vector<T> ReplaceValue(
	T oldValue,
	T newValue
)

Parameters

oldValue  T
The value to replace.
newValue  T
The replacement value.

Return Value

Vector<T>
A new vector with every occurrence of oldValue replaced with newValue.

See Also