Close
Close window
Sign Query - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

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

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


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /