 |
PK_CURVE_find_discontinuity |
|
PK_ERROR_code_t PK_CURVE_find_discontinuity
(
--- received arguments ---
PK_CURVE_t curve, --- Query curve
const PK_CURVE_find_discontinuity_o_t *options, --- option structure
--- returned arguments ---
int *const n_params, --- number of discontinuities
double **const params, --- parameter values of each
--- discontinuity
PK_continuity_t **const orders --- order of the discontinuity
)
This interface function permits a user to query any standard curve type for
either analytic or geometric discontinuities of levels 1 through 3.
Specific Errors:
PK_ERROR_eval_failure (MILD) internal failure during finding of
discontinuities
PK_ERROR_not_implemented (MILD) called with 'level' set to
PK_continuity_g3_c.
If 'n_params' > 0, then two non-empty arrays are returned.
The first list 'params' contains each parameter that has a discontinuity,
and the second list (which is in one-to-one correspondence with the first)
reports the corresponding order using the PK_continuity tokens.
If 'n_params' is set to 0 on return, the input 'curve' can be considered
to have at least three continuous derivatives on its domain.
For more information, see Finding discontinuities.