AreSimilar - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

Online Help

All Products    Maple    MapleSim


SumTools[Hypergeometric]

  

AreSimilar

  

test if two hypergeometric terms are similar

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

AreSimilar(S, T, n)

Parameters

S

-

hypergeometric term of n

T

-

hypergeometric term of n

n

-

variable

Description

• 

The AreSimilar(S,T,n) command returns true if S⁡n and T⁡n are similar. Otherwise, it returns false.

  

Two hypergeometric terms S⁡n and T⁡n are similar if their ratio is a rational function of n.

Examples

> 

with⁡SumToolsHypergeometric:

> 

S1≔n2;S2≔2n;T≔1

S1≔n2

S2≔2n

T≔1

(1)
> 

AreSimilar⁡S1,T,n

true

(2)
> 

AreSimilar⁡S2,T,n

false

(3)
> 

T1≔1n+3!⁢2⁢n+7!⁢3⁢n+1!

T1≔3⁢n+1!n+3!⁢2⁢n+7!

(4)
> 

T2≔n2−1⁢3⁢n+1!n+3!⁢2⁢n+7!

T2≔n2−1⁢3⁢n+1!n+3!⁢2⁢n+7!

(5)
> 

AreSimilar⁡T1,T2,n

true

(6)

See Also

SumTools[Hypergeometric]

SumTools[Hypergeometric][IsHypergeometricTerm]