Skip to content

Take function bounds into account for min, max, and area

rhn_ mk1 requested to merge rhnmk/kmplot:fff into master

Instead of calculating function bounds as if the function was defined on the real domain, calculate it in the user-supplied interval.

The found maximum or minimum will now never fall on a point that is not part of the displayed function.

This has been annoying me for a long time when plotting physical properties which are only interesting within a certain range.

Merge request reports