Overview of the RealDomain Package
List of RealDomain Package Commands
By default, Maple performs computations under the assumption that the underlying number system is the complex field. The RealDomain package provides an environment in which computations are performed under the assumption that the basic underlying number system is the field of real numbers.
Each command in the RealDomain package can be accessed by using either the long form or the short form of the command name in the command calling sequence.
The long form, RealDomain:-command, is always available. The short form can be used after loading the package.
To create a RealDomain environment, use the use RealDomain in ... end syntax.
All the exports of this package shadow the global Maple procedures of the same name. For example, RealDomain[sqrt] shadows the global sqrt procedure. The package exports all differ uniformly from the global procedures they shadow.
The arguments to a procedure P are preprocessed by replacing any calls to procedures exported by RealDomain with calls to the shadowed global procedure.
The procedure call is evaluated with the assumption that all unassigned symbols in the input are real. In addition, the environment variable _EnvSolveOverReals is set to true and a special numeric event handler is installed for the real_to_complex event.
Results returned by procedures are postprocessed by discarding values containing any detectable non-real answers or replacing them with undefined where appropriate.
Within the environment of a use statement, or after issuing the command with(RealDomain);, the global (default) procedures shadowed by the procedures exported by the RealDomain package can still be accessed using the :− prefix. For example, access the default sin procedure using :-sin.
The RealDomain package is not compatible with the use of the assume facility.
Only expressions involving commands and operators exported by this package are expected to be free of complex values. For example, integration (which goes beyond precalculus mathematics) is not expected to yield only real-values answers.
A limited number of Maple procedures are shadowed in this package. The scope of the package is intended to cover basic precalculus mathematics along with a number of routines that may be used in symbolic manipulations of expressions and formulae encountered at that level. The following is a list of available commands in this package.
Download Help Document
What kind of issue would you like to report? (Optional)