SolveTools - Maple Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Mathematics : Factorization and Solving Equations : SolveTools : SolveTools/GreaterComplexity

SolveTools

  

GreaterComplexity

  

compare the complexities of two expressions

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

GreaterComplexity(expr1, expr2)

Parameters

expr1, expr2

-

expressions

Description

• 

The GreaterComplexity command returns true if the expression expr1 is more complex than expr2; otherwise, false is returned.

  

GreaterComplexity uses SolveTools[Complexity] in polynomial mode to compute the relative complexities of the expressions. If the expressions have the same complexity according to the Complexity function, then GreaterComplexity determines that the more complex expression is the one that has the higher lexicographical order of its indeterminates.

• 

This function is part of the SolveTools package, and so it can be used in the form GreaterComplexity(..) only after executing the command with(SolveTools). However, it can always be accessed through the long form of the command by using SolveTools[GreaterComplexity](..).

Examples

withSolveTools:

GreaterComplexityx,2x

false

(1)

GreaterComplexitysinx,3x

true

(2)

GreaterComplexityx,y

true

(3)

GreaterComplexityy,x

false

(4)

See Also

SolveTools

SolveTools[Complexity]

SolveTools[SortByComplexity]

 


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