ReplaceIfEqual Data Member Function

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

Prototype

int32 ReplaceIfEqual( Float64Iterator first, Float64Iterator last, double src, double 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.
doublesrcThe sentinel value.
doubledstThe replacement value.

Examples

Copy Text To Clipboard

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