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

Online Help

All Products    Maple    MapleSim


RationalNormalForms

  

AreSimilar

  

test if two hypergeometric terms are similar

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

AreSimilar(S, T, n)

Parameters

S

-

hypergeometric term in n

T

-

hypergeometric term in n

n

-

variable

Description

• 

The AreSimilar(S,T,n) function returns true if Sn and Tn are similar. Otherwise, false is returned.

  

Two hypergeometric terms Sn and Tn are similar if their ratio is a rational function of n.

• 

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

Examples

withRationalNormalForms:

S1n2;S22n;T1

S1n2

S22n

T1

(1)

AreSimilarS1,T,n

true

(2)

AreSimilarS2,T,n

false

(3)

T11n+3!2n+7!3n+1!

T13n+1!n+3!2n+7!

(4)

T2n213n+1!n+3!2n+7!

T2n213n+1!n+3!2n+7!

(5)

AreSimilarT1,T2,n

true

(6)

See Also

RationalNormalForms[IsHypergeometricTerm]