extension of type/constant - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Data Types : Type Checking : Types : difforms/const

type/const - extension of type/constant

Calling Sequence

type(expr, const)

Parameters

expr

-

a Maple expression

Description

• 

The type const includes any expr which is of type constant, plus those names which are defined to be const through difforms[defform].

• 

All sums, products, or powers of objects of type const are considered to be const.

• 

The types const, form, and scalar are mutually exclusive.  Any expression should belong to at most one of these types.

• 

This function is part of the difforms package and can only be used after performing the command with(difforms).

Examples

withdifforms:defforma=const,b=const,c=const,d=const

typea,const

true

(1)

typea+bcd,const

true

(2)

typee+a,const

false

(3)

See Also

type, type/form, type/scalar


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