Vector<T>.ReplaceValue Method

Replaces every occurrence of a value with a new value.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
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