Maple Constants - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Group Theory : Numbers : Constants : constant

Maple Constants

 

Description

Examples

Description

• 

The numeric constants in Maple are integers, fractions, floating-point numbers, and complex numbers whose real and imaginary parts are any of these types of numbers.

• 

The global variable constants is an expression sequence of all names which are initially known as symbolic constants in Maple.  These are:

false

gamma

infinity

true

Catalan

FAIL

Pi

 

 

 

 

 

 

 

• 

The values undefined and Float(undefined) do not appear on this list because neither is a constant.

• 

The user can declare any symbol other than undefined to be a constant by appending it to constants.

• 

The expression (-1)^(1/2) is implemented as Complex(1).

• 

More generally, a Maple expression is of type constant if it is an unevaluated function with all arguments of type constant, or a sum, product, or power with all operands of type constant.

Examples

constants

false,γ,∞,true,Catalan,FAIL,π

(1)

typefⅇγ+3+14,'constant'

true

(2)

typefⅇγ+x+14,'constant'

false

(3)

constantsconstants,x

constants:=false,γ,∞,true,Catalan,FAIL,π,x

(4)

typefⅇγ+x+14,'constant'

true

(5)

See Also

float

fraction

integer

type

type/complex

type/constant

undefined

 


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