Replaces every occurrence of a value with a new value.
Namespace: Extreme.MathematicsAssembly: Extreme.Numerics.Net40 (in Extreme.Numerics.Net40.dll) Version: 6.0.16073.0 (6.0.17114.0)
public Vector<T> ReplaceValueInPlace(
T oldValue,
T newValue
)
Public Function ReplaceValueInPlace (
oldValue As T,
newValue As T
) As Vector(Of T)
public:
Vector<T>^ ReplaceValueInPlace(
T oldValue,
T newValue
)
member ReplaceValueInPlace :
oldValue : 'T *
newValue : 'T -> Vector<'T>
Parameters
- oldValue
- Type: T
The value to replace. - newValue
- Type: T
The replacement value.
Return Value
Type:
VectorTA reference to this vector.
Numerical Libraries
Supported in: 6.0
Reference