Vector<T>.Replace Value 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.3
C#
A new vector with every occurrence of oldValue replaced with newValue.
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.3
public Vector<T> ReplaceValue(
T oldValue,
T newValue
)
Parameters
Return Value
Vector<T>A new vector with every occurrence of oldValue replaced with newValue.