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