ReplaceIfEqual Data Member Function

Replaces values in the range that are equal to the sentinel.

Prototype

int32 ReplaceIfEqual( Float64Iterator first, Float64Iterator last, float64 src, float64 dst )

Parameters

Parameter Type Parameter Name Documentation
<Float64Iterator>firstAn iterator at the start of the range.
<Float64Iterator>lastAn iterator at the end of the range.
float64srcThe sentinel value.
float64dstThe replacement value.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Simdify Scripting Language code base.