bdeSetZeroCrossingThreshold

Takes model and threshold and sets the zero crossing threshold property. When zero crossing is detected on a function e.g. F, F changes the sign and becomes almost zero. When the absolute value becomes greater than the threshold, the zero-crossing search resumes. This is used to handle functions that get stuck on zero.

Syntax

bdeSetZeroCrossingThreshold(model, threshold)

Inputs

model
Model of which the zero crossing threshold is being set.
Type: diagram
threshold
Value to set the zero crossing threshold to.
Type: string

Examples

Set a model's zero crossing threshold:
model = bdeGetCurrentModel();
        bdeSetZeroCrossingThreshold(model, threshold)