verify/function_bounds - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Logic : Boolean : verify : verify/function_bounds

verify/function_bounds

verify approximate equality between two function plots

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

verify(P, Q, function_bounds)

Parameters

P, Q

-

anything

Description

• 

The verify(P, Q, function_bounds) calling sequence 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

aplotpiecewisex<1&comma;x&comma;2x&comma;x&equals;0..2&colon;

bplotpiecewisex<1&comma;x&comma;2x&comma;x&equals;0..2&comma;numpoints&equals;10&comma;adaptive&equals;false&colon;

cplot1.001piecewisex<1&comma;x&comma;2x&comma;x&equals;0..2&comma;numpoints&equals;100&colon;

verifya&comma;b&comma;function_bounds

true

(1)

verifya&comma;c&comma;function_bounds

false&comma;

Note that the plot 'b' does not have the last maxima.

aplotsinx&comma;x&equals;0..40&colon;

bplotsinx&comma;x&equals;0..40&comma;numpoints&equals;20&comma;adaptive&equals;false&colon;

cplotsinx&comma;x&equals;0..40&comma;numpoints&equals;30&comma;adaptive&equals;false&colon;

verifya&comma;b&comma;function_bounds

false&comma;

verifya&comma;c&comma;function_bounds

true

(2)

See Also

piecewise

plot

verify

verify/function_shells

verify/plot

 

 


Download Help Document

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam