Sign Query - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


Maplets[Examples]

  

SignQuery

  

display a Maplet application that queries the user about the sign of an object

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

SignQuery(expr, opts)

Parameters

expr

-

algebraic expression

opts

-

equation(s) of the form option=value where option is one of height, mathml, sign, title, or width; specify options for the Maplet application

Description

• 

The SignQuery(expr) calling sequence displays a dialog that asks about the sign of expr. The user can click Yes or No. The return value is true or false, respectively.

• 

The opts argument can contain one or more of the following equations that set Maplet application options.

  

 

  

height = posint

  

If the option mathml is set to true, this is the height of the MathMLViewer element. By default, the height is 50 pixels.

  

 

  

mathml = true or false

  

If this option is set to true, the expression is rendered using MathML.

  

 

  

sign = positive, nonnegative, negative, nonpositive, or nonzero

  

This option adjusts the question posed. By default, the value is positive. That is, the query asks if expr is positive.

  

 

  

title = string or symbol

  

Specifies the Maplet application title.  By default, the title is Sign Query.

  

 

  

width = posint

  

If the option mathml is set to true, this is the width of the MathMLViewer element. By default, the width is 50 pixels.

  

 

Examples

withMapletsExamples:

SignQueryx24

SignQueryx24,mathml

See Also

Maplets[Elements]

Maplets[Elements][MathMLViewer]

Maplets[Examples]

Overview of Maplet Applications