July 29th, 2010, 9:14 pm
If sampling the function is cheap, then sample it at regular intervals to look for discontinuities in the value or first-derivative of value of the curve.If sampling the function is really cheap, you can double-sample each point (with a delta of spacing) to estimate the local numerical first derivative and make the kink finding a little more certain.If sampling the function is expensive, then look at something like bi-section search to find and refine the locations of the kinks.If sampling the function is expensive and you have some rough estimate of the PDF or CDF of the underlying, you might bias the density of samples or search to higher-density portions of the outcome space.
Last edited by
Traden4Alpha on July 28th, 2010, 10:00 pm, edited 1 time in total.