Synopsis
PDX_MSGT gdx_MakeKnotsEqual(long option, long num_of_knots, double *knots, double bounds[2], double knot_tol, PDX_BOOL *modified_flag)
Purpose
Sets knots equal that are within tolerance
Description
Sets knots equal that are within tolerance of one another. This function assumes that the knots and bounds are non-decreasing.
Input
option
Not used.
num_of_knots
Number of knots.
knots
The knots.
bounds
The relimiting bounds.
knot_tol
Tolerance to determine if two knots are equal.
Output
knots
Some knots may be modified.
modified_flag
TRUE if some knots have been modified; FALSE otherwise.
Return
GDX_NOERR