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

Online Help

IntegerRelations

  

LinearDependency

  

find an integer dependence (relation)

 

Calling Sequence

Parameters

Description

Examples

Calling Sequence

LinearDependency(v,opts)

Parameters

v

-

list or Vector of (complex) floating-point numbers

opts

-

(optional); equation of the form method=LLL or method=PSLQ specifying the algorithm used

Description

• 

The LinearDependency(v,opts) command finds an integer relation between the numbers in v - if they are linearly dependent. Given a list (or a Vector) of  real or complex numbers, LinearDependency outputs a list (or a Vector)  of  integers such that  is close to zero.

• 

By default, Bailey and Ferguson's PSLQ (Partial Sum of Least Squares) algorithm is used if the numbers in v are real.

• 

The optional argument method=LLL specifies that the LLL (Lenstra-Lenstra-Lovasz) lattice basis reduction algorithm be used, which is the default if v contains non-real values.

• 

The internal working precision of the LinearDependency command corresponds to the value of Digits. For best results, the same value of Digits should be used with which the input approximation was obtained.

Examples

(1)

(2)

(3)

(4)

(5)

(6)

(7)

(8)

(9)

(10)

(11)

(12)

(13)

(14)

(15)

(16)

(17)

See Also

identify

IntegerRelations

IntegerRelations[LLL]

IntegerRelations[PSLQ]

 


Download Help Document