verify[function_bounds] - verify approximate equality between two function plots
|
Calling Sequence
|
|
verify(P, Q, function_bounds)
|
|
Description
|
|
•
|
The verify[function_bounds] function verifies the approximate equality between two function plots.
|
•
|
The parameters, P and Q, are assumed to be either PLOT data structures, sets or lists of CURVES data structures, or a CURVES data structure.
|
•
|
The verify(P, Q, function_bounds) function returns true for CURVES data-structures P and Q by checking that neither curve has extreme points or constant regions which do not appear in the other curve or in the union of the two curves.
|
•
|
If you are comparing two curves, false is returned by a list with false in the first operand and a plot data-structure showing the points where the curves differ.
|
|
|
Examples
|
|
>
|
|
>
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
Note that the plot 'b' does not have the last maxima.
>
|
|
>
|
|
>
|
|
>
|
|
| (3) |
>
|
|
| (4) |
|
|
Download Help Document
Was this information helpful?