Replaces every occurrence of a value with a new value.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public virtual Vector<T> ReplaceValueInto(
T oldValue,
T newValue,
Vector<T> result
)
Public Overridable Function ReplaceValueInto (
oldValue As T,
newValue As T,
result As Vector(Of T)
) As Vector(Of T)
public:
virtual Vector<T>^ ReplaceValueInto(
T oldValue,
T newValue,
Vector<T>^ result
)
abstract ReplaceValueInto :
oldValue : 'T *
newValue : 'T *
result : Vector<'T> -> Vector<'T>
override ReplaceValueInto :
oldValue : 'T *
newValue : 'T *
result : Vector<'T> -> Vector<'T>
Parameters
- oldValue
- Type: T
The value to replace. - newValue
- Type: T
The replacement value. - result
- Type: Extreme.MathematicsVectorT
The vector that is to hold the result. May be .
Return Value
Type:
VectorTA reference to this vector.
Reference